callstack/ts-regex-builder

feat: implement anyOf component

mdjastrzebski opened this issue · 0 comments

Describe the feature

Implement anyOf component:

let regex = buildRegex(
    anyOf("abcd"), // [abcd]
    oneOrMore(anyOf("abcd")), // [abcd]+
)

Ref: https://developer.apple.com/documentation/regexbuilder/characterclass/anyof(_:)-1s0kt

Related Issues