Skip to content

Commit f01f71b

Browse files
committed
lite: add \< and \> to the syntax docs
This was probably a copy & paste error.
1 parent 951eebd commit f01f71b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

regex-lite/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -472,8 +472,8 @@ $ the end of a haystack (or end-of-line with multi-line mode)
472472
\z only the end of a haystack (even with multi-line mode enabled)
473473
\b an ASCII word boundary (\w on one side and \W, \A, or \z on other)
474474
\B not an ASCII word boundary
475-
\b{start} an ASCII start-of-word boundary (\W|\A on the left, \w on the right)
476-
\b{end} an ASCII end-of-word boundary (\w on the left, \W|\z on the right))
475+
\b{start}, \< an ASCII start-of-word boundary (\W|\A on the left, \w on the right)
476+
\b{end}, \> an ASCII end-of-word boundary (\w on the left, \W|\z on the right))
477477
\b{start-half} half of an ASCII start-of-word boundary (\W|\A on the left)
478478
\b{end-half} half of an ASCII end-of-word boundary (\W|\z on the right)
479479
</pre>

0 commit comments

Comments
 (0)