Skip to content
This repository was archived by the owner on Sep 1, 2024. It is now read-only.

Added a regex check to the onSubmitWord method of the GameFragment #217

Open
BodaDayo wants to merge 1 commit intogoogle-developer-training:mainfrom
BodaDayo:main
Open

Added a regex check to the onSubmitWord method of the GameFragment #217
BodaDayo wants to merge 1 commit intogoogle-developer-training:mainfrom
BodaDayo:main

Conversation

@BodaDayo
Copy link

Added a regex check to the onSubmitWord method of the GameFragment to ensure trailing spaces in the submitted word (which could be present when the keyboard autocorrect suggests the word) do not affect the correctness of the summited word. The example screenshot included will show an error without the regex check when the answer is actually correct
Screenshot_20230222-124841

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant