Tries to parse a string as a regular expression. If this fails it tries to convert the string into a Regular Expression with a literal search for the string value.
The string to parse
Optional
options: string | LiteralSearchOptions = {}Options related to how to parse the string value for the literal search
Tries to parse a string as a regular expression, falling back to literal search, and then tests a given value
Returns a tuple of [matchedExpressionBool,matchedValString]
The string to use a regular expression
The string to test with the regular expression
Optional
options: string | LiteralSearchOptions = {}Options related to how to parse the string value for the literal search
Perform one or more search-and-replace operations on a string where the 'search' value may be a regular expression, a string to parse as a regular expression, or a string to use as a literal search expression
The string to perform search-and-replace operations on
An array of search-and-replace criteria
Optional
options: string | LiteralSearchOptions = {}Options related to how to parse the string value for the literal search
Convenience function that creates a shared cached and returns an object containing cached version of all available-to-wrap functions
See