Update documentation
This commit is contained in:
parent
a1110ebb14
commit
bc37a33853
1 changed files with 4 additions and 3 deletions
|
|
@ -96,10 +96,11 @@ If `sub` is a string, the syntax is as follows:
|
||||||
Escapes the string so it doesn't match any special characters. Incompatible
|
Escapes the string so it doesn't match any special characters. Incompatible
|
||||||
with the Extra flag (`X`).
|
with the Extra flag (`X`).
|
||||||
|
|
||||||
=== RegexMatch
|
=== Option[RegexMatch]
|
||||||
|
|
||||||
Represents the result of an execution. On failure, it is `nil`. The available
|
Represents the result of an execution. On failure, it is `None[RegexMatch]`,
|
||||||
fields are as follows:
|
but if you want automated derefrence, import `optional_t.nonstrict`. The
|
||||||
|
available fields are as follows:
|
||||||
|
|
||||||
`pattern: Regex` :: the pattern that is being matched
|
`pattern: Regex` :: the pattern that is being matched
|
||||||
`str: string` :: the string that was matched against
|
`str: string` :: the string that was matched against
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue