Skip to content

Commit 126e7bc

Browse files
committed
POSIX has \b and \B
1 parent 314daa3 commit 126e7bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

regex.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ <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 class="na"></td><td class="na"></td><td><code>\&lt;</code> / <code>\&gt;</code></td></tr>
120-
<tr><td>Anywhere but word boundary</td><td><code>\B</code></td><td><code>\B</code></td><td class="na"></td><td class="na"></td><td class="na"></td></tr>
119+
<tr><td>Word boundary</td><td><code>\b</code></td><td><code>\b</code></td><td><code>\b</code></td><td><code>\b</code></td><td><code>\&lt;</code> / <code>\&gt;</code></td></tr>
120+
<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>
123123
</tbody>

0 commit comments

Comments
 (0)