A regular expression to match strings against.
The pattern string of this regular expression.
Facts:
Regex("some pattern string").pattern == "some pattern string"
The number of capturing groups in this regular expression.
Returns zero if this regular expression does not have any capturing groups.
Regex(#"abc"#).groupCount == 0 Regex(#"a(\s*)b(\s*)c"#).groupCount == 2 // `()` denotes a capturing group Regex(#"a(?:\s*)bc"#).groupCount == 0 // `(?:)` denotes a non-capturing group
Returns the class of this.
this
Returns a string representation of this.
This method is used to convert the values of string interpolation expressions to strings.
Returns this |> transform if this is non-null, and null otherwise.
this |> transform
null
This method is the complement of the ?? operator and the equivalent of an Option type's map and flatMap methods.
??
Option
map
flatMap
Tells if this object has a property with the given name.
name
Returns the value of the property with the given name.
Throws if a property with this name does not exist.
Returns null if a property with this name does not exist.
Converts this object to a Dynamic object.
Dynamic
Converts this object to a Map.
Map
Finds all matches of this regular expression in input.
input
match
Matches this regular expression against the entire input.
A regular expression to match strings against.