source:
node_modules/es-toolkit/dist/compat/string/escapeRegExp.mjs@
a762898
| Last change on this file since a762898 was a762898, checked in by , 6 months ago | |
|---|---|
|
|
| File size: 229 bytes | |
| Line | |
|---|---|
| 1 | import { escapeRegExp as escapeRegExp$1 } from '../../string/escapeRegExp.mjs'; |
| 2 | import { toString } from '../util/toString.mjs'; |
| 3 | |
| 4 | function escapeRegExp(str) { |
| 5 | return escapeRegExp$1(toString(str)); |
| 6 | } |
| 7 | |
| 8 | export { escapeRegExp }; |
Note:
See TracBrowser
for help on using the repository browser.
