Skip to content

Commit ec29132

Browse files
author
Kurtis LoVerde
committed
documentation fix
1 parent fe7ad76 commit ec29132

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ <h3>Complex type: mathematical expression</h3>
327327
<li>An integer</li>
328328
<li>An integer followed by a plus sign</li>
329329
</ul>
330-
<p>The regular expression for that is <code>^\d+\+\d+$/, /^\d+$|^\d+\+$</code>. Putting it all together, we get:</p>
330+
<p>The regular expression for that is <code>/^\d+$|^\d+\+$</code>. Putting it all together, we get:</p>
331331
<code>cfg.addType( "additionExpr", /^\d+\+\d+$/, /^\d+$|^\d+\+$/ );</code><br/><br/>
332332
<input type="text" id="txtAdditionExpr" />
333333
</div>

0 commit comments

Comments
 (0)