UNPKG

oniguruma-parser

Version:

Parse, validate, traverse, transform, and optimize Oniguruma regular expressions

9 lines 301 B
import type { Visitor } from '../../traverser/traverse.js'; /** Extract nodes at the end of every alternative into a suffix. Ex: `aa$|bba$|ca$` -> `(?:a|bb|c)a$`. Also works within groups. */ declare const extractSuffix: Visitor; export { extractSuffix, }; //# sourceMappingURL=extract-suffix.d.ts.map