Skip to content

Commit 09b026d

Browse files
committed
Indicate that \< \> are start / end of words
1 parent ad5575b commit 09b026d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

regex.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ <h1>Syntax</h1>
116116
</tbody>
117117
<tbody id="syntax-assert" class="subgroup">
118118
<tr><th colspan="6">Zero-width assertions</th></tr>
119-
<tr><td>Word boundary</td><td><code>\b</code></td><td><code>\b</code></td><td><code>\b</code> / <code>\&lt;</code> / <code>\&gt;</code></td><td><code>\b</code> / <code>\&lt;</code> / <code>\&gt;</code></td><td><code>\&lt;</code> / <code>\&gt;</code></td></tr>
119+
<tr><td>Word boundary</td><td><code>\b</code></td><td><code>\b</code></td><td><code>\b</code> / <code>\&lt;</code> (start) / <code>\&gt;</code> (end)</td><td><code>\b</code> / <code>\&lt;</code> (start) / <code>\&gt;</code> (end)</td><td><code>\&lt;</code> (start) / <code>\&gt;</code> (end)</td></tr>
120120
<tr><td>Anywhere but word boundary</td><td><code>\B</code></td><td><code>\B</code></td><td><code>\B</code></td><td><code>\B</code></td><td class="na"></td></tr>
121121
<tr><td>Beginning of line/string</td><td><code>^</code> / <code>\A</code></td><td><code>^</code> / <code>\A</code></td><td><code>^</code></td><td><code>^</code></td><td><code>^</code> (beginning of pattern ) <code>\_^</code></td></tr>
122122
<tr><td>End of line/string</td><td><code>$</code> / <code>\Z</code></td><td><code>$</code> / <code>\Z</code></td><td><code>$</code></td><td><code>$</code></td><td><code>$</code> (end of pattern) <code>\_$</code></td></tr>

0 commit comments

Comments
 (0)