(rule: string, flags: string)
| 558 | |
| 559 | // what its node holds, sized since a source is whatever's written |
| 560 | const patternFacts = (rule: string, flags: string): Facts => ({ |
| 561 | key: `/${sized(rule)}/${flags}`, |
| 562 | domains: stringBits, |
| 563 | pure: true |
| 564 | }) |
| 565 | |
| 566 | // a subclass says what it likes of its source and flags, or throws |
| 567 | const regexFacts = (v: RegExp): Facts | undefined => |
no test coverage detected