Skip to content

Commit b7c7e07

Browse files
authored
Merge pull request #50 from DanArthurGallagher/correct-flag-validation
Correct flag validation
2 parents 44432d0 + 672980e commit b7c7e07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ <h2>A javascript regular expression editor</h2>
3939
<div id="main">
4040
<div id="expression">
4141
<h2>Regular Expression:</h2>
42-
/<input name="expression">/<input name="option" type="text" pattern="gimuy" spellcheck="false" autocomplete="off" title="Set any flags you want to apply to your expression">
42+
/<input name="expression">/<input name="option" type="text" pattern="(g|i|m|u|y)*" spellcheck="false" autocomplete="off" title="Set any flags you want to apply to your expression">
4343
</div>
4444

4545
<div id="test_strings">

0 commit comments

Comments
 (0)