Skip to content

Commit 02ff45f

Browse files
author
Daniel Arthur Gallagher
committed
Add attributes to the flag input
Add a pattern for the 5 flags Disable spellcheck Disable autocmplete Add a title describing the pattern
1 parent 22d14af commit 02ff45f

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
@@ -37,7 +37,7 @@ <h2>A javascript regular expression editor</h2>
3737
<div id="main">
3838
<div id="expression">
3939
<h2>Regular Expression:</h2>
40-
/<input name="expression">/<input name="option">
40+
/<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">
4141
</div>
4242

4343
<div id="test_strings">

0 commit comments

Comments
 (0)