1.3 KiB
1.3 KiB
title | description | menu | weight | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
regexp.getString() function | `regexp.getString()` returns the source string used to compile a regular expression. |
|
101 |
regexp.getString()
returns the source string used to compile a regular expression.
Function type signature
(r: regexp) => string
{{% caption %}} For more information, see Function type signatures. {{% /caption %}}
Parameters
r
({{< req >}}) Regular expression object to convert to a string.