Skip to content

Commit afcbdac

Browse files
committed
Change repetition instructions to use {,4} instead of {,10}
1 parent ac17b42 commit afcbdac

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

‎examples/regex_inverter/index.html‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ <h4>by Paul McGuire, January 2026</h4>
2727
<p><strong>Constraints:</strong></p>
2828
<ul>
2929
<li>Unbounded repetition operators <code>+</code> and <code>*</code> are <strong>not supported</strong>.</li>
30-
<li>Replace <code>+</code> or <code>*</code> with explicit <code>{n}</code> or <code>{min,max}</code> repetition operators (e.g., use <code>[A-Z]{1,10}</code> instead of <code>[A-Z]+</code>, or <code>[A-Z]{,10}</code> instead of <code>[A-Z]*</code>).</li>
30+
<li>Replace <code>+</code> or <code>*</code> with explicit <code>{n}</code> or <code>{min,max}</code> repetition operators (e.g., use an explicit repetition like <code>[A-Z]{1,4}</code> instead of <code>[A-Z]+</code>, or <code>[A-Z]{,4}</code> instead of <code>[A-Z]*</code>).</li>
3131
</ul>
3232
<p><strong>Note:</strong> Complex regular expressions or those with large repetition counts may take some time to process.</p>
3333
</div>
@@ -39,10 +39,7 @@ <h4>by Paul McGuire, January 2026</h4>
3939
<p>Here are some example regular expressions to try:</p>
4040
<table>
4141
<thead>
42-
<tr>
43-
<th>Description</th>
44-
<th>Regex</th>
45-
</tr>
42+
<tr><th>Description</th><th>Regex</th></tr>
4643
</thead>
4744
<tr>
4845
<td>Match one uppercase letter followed by three digits</td>

0 commit comments

Comments
 (0)