Documentation

regexp.getString() function

regexp.getString() returns the source string used to compile a regular expression.

Function type signature
(r: regexp) => string

For more information, see Function type signatures.

Parameters

r

(Required) Regular expression object to convert to a string.


Was this page helpful?

Thank you for your feedback!


The future of Flux

Flux is going into maintenance mode. You can continue using it as you currently are without any changes to your code.

Read more