mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Add missing features to regex package documentation
This commit is contained in:
@@ -9,12 +9,16 @@ Odin's regex library implements the following features:
|
|||||||
|
|
||||||
Alternation: `apple|cherry`
|
Alternation: `apple|cherry`
|
||||||
Classes: `[0-9_]`
|
Classes: `[0-9_]`
|
||||||
|
Classes, negated: `[^0-9_]`
|
||||||
|
Shorthands: `\d\s\w`
|
||||||
|
Shorthands, negated: `\D\S\W`
|
||||||
Wildcards: `.`
|
Wildcards: `.`
|
||||||
Repeat, optional: `a*`
|
Repeat, optional: `a*`
|
||||||
Repeat, at least once: `a+`
|
Repeat, at least once: `a+`
|
||||||
|
Repetition: `a{1,2}`
|
||||||
Optional: `a?`
|
Optional: `a?`
|
||||||
Group Capture: `([0-9])`
|
Group, capture: `([0-9])`
|
||||||
Group Non-Capture: `(?:[0-9])`
|
Group, non-capture: `(?:[0-9])`
|
||||||
Start & End Anchors: `^hello$`
|
Start & End Anchors: `^hello$`
|
||||||
Word Boundaries: `\bhello\b`
|
Word Boundaries: `\bhello\b`
|
||||||
Non-Word Boundaries: `hello\B`
|
Non-Word Boundaries: `hello\B`
|
||||||
|
|||||||
Reference in New Issue
Block a user