ts-regex-builder
Version:
Maintainable regular expressions for TypeScript and JavaScript.
19 lines (18 loc) • 1.21 kB
TypeScript
export type * from './types';
export type { CaptureOptions } from './constructs/capture';
export type { QuantifierOptions } from './constructs/quantifiers';
export type { RepeatOptions } from './constructs/repeat';
export { buildRegExp, buildPattern } from './builders';
export { startOfString, endOfString, wordBoundary, nonWordBoundary, notWordBoundary, } from './constructs/anchors';
export { capture, ref } from './constructs/capture';
export { charClass, charRange, anyOf, negated, inverted } from './constructs/char-class';
export { any, digit, nonDigit, word, nonWord, whitespace, nonWhitespace, notDigit, notWhitespace, notWord, } from './constructs/char-escape';
export { choiceOf } from './constructs/choice-of';
export { lookahead } from './constructs/lookahead';
export { lookbehind } from './constructs/lookbehind';
export { negativeLookahead } from './constructs/negative-lookahead';
export { negativeLookbehind } from './constructs/negative-lookbehind';
export { zeroOrMore, oneOrMore, optional } from './constructs/quantifiers';
export { regex } from './constructs/regex';
export { repeat } from './constructs/repeat';
export { char, unicodeChar, unicodeProperty } from './constructs/unicode';