Namespaces
escapeRegexSymbols
function escapeRegexSymbols(source: string): string;Defined in: utils/index.d.ts:126
Escapes special regex symbols (., *, ^, $ and so on) in string in order to create a valid regex from it.
Parameters
| Parameter | Type | Description |
|---|---|---|
source | string | The original value. |
Returns
string
- Previous
- eliminateDuplicates
- Next
- executeOnMainThread