9 lines
393 B
TypeScript
9 lines
393 B
TypeScript
import type { Visitor } from '../../traverser/traverse.js';
|
|
/**
|
|
Pull leading and trailing assertions out of capturing groups when possible; helps group unwrapping.
|
|
Ex: `(^abc$)` -> `^(abc)$`.
|
|
Ex: `(\b(?:a|bc)\b)` -> `\b((?:a|bc))\b`. The inner group can subsequently be unwrapped.
|
|
*/
|
|
declare const exposeAnchors: Visitor;
|
|
export { exposeAnchors, };
|
|
//# sourceMappingURL=expose-anchors.d.ts.map
|