From a868d08a8706babf5eee8dcd82db2ccf14b9cebb Mon Sep 17 00:00:00 2001 From: Suzanne Millstein Date: Mon, 1 May 2023 09:20:07 -0700 Subject: [PATCH] Fix link. --- docs/tutorial/webpages/user-input-cmd.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.