Skip to content

Commit 2a61ca7

Browse files
committed
update schema.md for hyphens.
1 parent 95aa1d2 commit 2a61ca7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

docs/schema.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ Named Capture (?<var>[01]+) Match an expression and assign it a name (e.g.,
163163
* Special characters include: ( ) * + - . [ \ ] ^ { | } < > ?
164164
- Escape these with '\' when used literally (e.g., \., \(, \\).
165165
- Special characters must be escaped even in ranges.
166+
- Hyphens `-` do not need to be escaped outside of ranges.
166167
167168
* For each regex rule, the expression(s) it contains can be formed by applying
168169
any sequence of valid regex rules, including the rule itself, thus allowing

0 commit comments

Comments
 (0)