📄 escapeRegExp¶
📊 Analysis Summary¶
| Metric | Count |
|---|---|
| 🔧 Functions | 1 |
| 📊 Variables & Constants | 1 |
📚 Table of Contents¶
🛠️ File Location:¶
📂 packages/eslint-plugin/src/util/escapeRegExp.ts
Variables & Constants¶
| Name | Type | Kind | Value | Exported |
|---|---|---|---|---|
reRegExpChar |
RegExp |
const | /[\\^$.*+?()[\]{}\|]/g |
✗ |
Functions¶
escapeRegExp(string: string): string¶
Parameters:
stringstring
Returns: string
Calls:
reHasRegExpChar.teststring.replaceAll
Code
Generated by Syntax Scribe