ts-regex-builder
Version:
Maintainable regular expressions for TypeScript and JavaScript.
1 lines • 2.38 kB
Source Map (JSON)
{"version":3,"file":"index.mjs","names":["buildRegExp","buildPattern","startOfString","endOfString","wordBoundary","nonWordBoundary","notWordBoundary","capture","ref","charClass","charRange","anyOf","negated","inverted","any","digit","nonDigit","word","nonWord","whitespace","nonWhitespace","notDigit","notWhitespace","notWord","choiceOf","lookahead","lookbehind","negativeLookahead","negativeLookbehind","zeroOrMore","oneOrMore","optional","regex","repeat","char","unicodeChar","unicodeProperty"],"sources":["../../src/index.ts"],"sourcesContent":["// Types\nexport type * from './types';\nexport type { CaptureOptions } from './constructs/capture';\nexport type { QuantifierOptions } from './constructs/quantifiers';\nexport type { RepeatOptions } from './constructs/repeat';\n\n// Builders\nexport { buildRegExp, buildPattern } from './builders';\n\n// Constructs\nexport {\n startOfString,\n endOfString,\n wordBoundary,\n nonWordBoundary,\n notWordBoundary,\n} from './constructs/anchors';\nexport { capture, ref } from './constructs/capture';\nexport { charClass, charRange, anyOf, negated, inverted } from './constructs/char-class';\nexport {\n any,\n digit,\n nonDigit,\n word,\n nonWord,\n whitespace,\n nonWhitespace,\n notDigit,\n notWhitespace,\n notWord,\n} from './constructs/char-escape';\nexport { choiceOf } from './constructs/choice-of';\nexport { lookahead } from './constructs/lookahead';\nexport { lookbehind } from './constructs/lookbehind';\nexport { negativeLookahead } from './constructs/negative-lookahead';\nexport { negativeLookbehind } from './constructs/negative-lookbehind';\nexport { zeroOrMore, oneOrMore, optional } from './constructs/quantifiers';\nexport { regex } from './constructs/regex';\nexport { repeat } from './constructs/repeat';\nexport { char, unicodeChar, unicodeProperty } from './constructs/unicode';\n"],"mappings":"SAOSA,WAAW,EAAEC,YAAY;AAAA,SAIhCC,aAAa,EACbC,WAAW,EACXC,YAAY,EACZC,eAAe,EACfC,eAAe;AAAA,SAERC,OAAO,EAAEC,GAAG;AAAA,SACZC,SAAS,EAAEC,SAAS,EAAEC,KAAK,EAAEC,OAAO,EAAEC,QAAQ;AAAA,SAErDC,GAAG,EACHC,KAAK,EACLC,QAAQ,EACRC,IAAI,EACJC,OAAO,EACPC,UAAU,EACVC,aAAa,EACbC,QAAQ,EACRC,aAAa,EACbC,OAAO;AAAA,SAEAC,QAAQ;AAAA,SACRC,SAAS;AAAA,SACTC,UAAU;AAAA,SACVC,iBAAiB;AAAA,SACjBC,kBAAkB;AAAA,SAClBC,UAAU,EAAEC,SAAS,EAAEC,QAAQ;AAAA,SAC/BC,KAAK;AAAA,SACLC,MAAM;AAAA,SACNC,IAAI,EAAEC,WAAW,EAAEC,eAAe","ignoreList":[]}