diff --git a/docs/tutorial/webpages/user-input-cmd.html b/docs/tutorial/webpages/user-input-cmd.html index dedb6a86e46..380d1afff00 100644 --- a/docs/tutorial/webpages/user-input-cmd.html +++ b/docs/tutorial/webpages/user-input-cmd.html @@ -175,7 +175,7 @@

4. Fix the Code

The right way to fix the problems is for the code to issue a user-friendly message at run time. It should verify the user input using the - RegexUtil.isRegex(String, int) method. + RegexUtil.isRegex(String, int) method. If the string is not a valid regular expression, it should print an error message and halt. If it is a valid regular expression, perform as before.