(pattern)
| 16 | const DEFAULT_PARAMS: PatternArgs = null; |
| 17 | |
| 18 | function getRegExp(pattern): RegExp { |
| 19 | return pattern instanceof RegExp ? pattern : new RegExp(pattern); |
| 20 | } |
| 21 | |
| 22 | function parsePattern({ pattern }: PatternArgs): RegExp { |
| 23 | // Avoid RegExp like /true/ /false/ and /null/ without an explicit "true", "false" or "null" |
no outgoing calls
no test coverage detected
searching dependent graphs…