Skip to content

Commit

Permalink
documentation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Kurtis LoVerde committed Apr 3, 2016
1 parent 1ab8dbe commit 2e448e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ <h3>Complex type: mathematical expression</h3>
<li>An integer followed by a plus sign</li>
</ul>
<p>The regular expression for that is <code>/^\d+\+?$/</code>. Putting it all together, we get:</p>
<code>cfg.addType( "additionExpr", /^\d+\+\d+$/, /^\d+$|^\d+\+$/ );</code><br/><br/>
<code>cfg.addType( "additionExpr", /^\d+\+\d+$/, /^\d+\+?$/ );</code><br/><br/>
<input type="text" id="txtAdditionExpr" />
</div>

Expand Down

0 comments on commit 2e448e2

Please sign in to comment.