Add more details about modifier syntax
See discussion on #4 for details.
This commit is contained in:
parent
5cbaa1ba37
commit
cba3b788f1
1 changed files with 7 additions and 1 deletions
|
|
@ -129,7 +129,13 @@ as a key.
|
||||||
|
|
||||||
Represents the pattern that things are matched against, constructed with
|
Represents the pattern that things are matched against, constructed with
|
||||||
`re(string, string)`. Examples: `re"foo"`, `re(r"foo # comment",
|
`re(string, string)`. Examples: `re"foo"`, `re(r"foo # comment",
|
||||||
"x<anycrlf>")`.
|
"x<anycrlf>")`, `re"(?x)(*ANYCRLF)foo # comment"`.
|
||||||
|
For more details on the leading option groups, see the
|
||||||
|
link:http://man7.org/linux/man-pages/man3/pcresyntax.3.html#OPTION_SETTING[Option Setting]
|
||||||
|
and the
|
||||||
|
link:http://man7.org/linux/man-pages/man3/pcresyntax.3.html#NEWLINE_CONVENTION[Newline Convention]
|
||||||
|
sections of the
|
||||||
|
link:http://man7.org/linux/man-pages/man3/pcresyntax.3.html[PCRE syntax manual].
|
||||||
|
|
||||||
`pattern: string` :: the string that was used to create the pattern.
|
`pattern: string` :: the string that was used to create the pattern.
|
||||||
`captureCount: int` :: the number of captures that the pattern has.
|
`captureCount: int` :: the number of captures that the pattern has.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue