We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ab8dbe commit 2e448e2Copy full SHA for 2e448e2
demo.html
@@ -328,7 +328,7 @@ <h3>Complex type: mathematical expression</h3>
328
<li>An integer followed by a plus sign</li>
329
</ul>
330
<p>The regular expression for that is <code>/^\d+\+?$/</code>. Putting it all together, we get:</p>
331
- <code>cfg.addType( "additionExpr", /^\d+\+\d+$/, /^\d+$|^\d+\+$/ );</code><br/><br/>
+ <code>cfg.addType( "additionExpr", /^\d+\+\d+$/, /^\d+\+?$/ );</code><br/><br/>
332
<input type="text" id="txtAdditionExpr" />
333
</div>
334
0 commit comments