PureXML/Sources/Regex
Mihaela Mihaljevic 951b808f02 feat(regex): XML Schema regular-expression engine
Add the PureXML.Regex namespace: a recursive-descent parser for the XSD
regex grammar (literals, ., character classes with ranges and negation, the
\d \w \s family and negations, single-char escapes, grouping, alternation,
and the ?, *, +, {n}, {n,}, {n,m} quantifiers) compiled to a Thompson NFA.
matches(_:) is whole-string as xs:pattern requires, and runs linear in the
input with no backtracking blow-up. \p{...} category escapes are not yet
supported.

Closes #59
Closes #60
Closes #30
2026-06-08 06:18:50 +02:00
..
RegexAutomaton.swift feat(regex): XML Schema regular-expression engine 2026-06-08 06:18:50 +02:00
RegexParser.swift feat(regex): XML Schema regular-expression engine 2026-06-08 06:18:50 +02:00
RegexSyntax.swift feat(regex): XML Schema regular-expression engine 2026-06-08 06:18:50 +02:00