@hackage hxt-regex-xmlschema9.2.0.7
A regular expression library for W3C XML Schema regular expressions
Categories
License
MIT
Maintainer
Uwe Schmidt <uwe@fh-wedel.de>
Links
Versions
Installation
Dependencies (5)
- base >=4 && <5
- bytestring >=0.10
- hxt-charproperties >=9
- parsec >=2.1 && <4
- text >=0.10 Show all…
Dependents (10)
@hackage/hxt, @hackage/bash, @hackage/hxt-relaxng, @hackage/Hayoo, @hackage/acme-everything, @hackage/CHXHtml, Show all…
Package Flags
profile
(off by default)
turn profiling on
This library supports full W3C XML Schema regular expressions inclusive all Unicode character sets and blocks. The complete grammar can be found under http://www.w3.org/TR/xmlschema11-2/#regexs. It is implemented by the technique of derivations of regular expressions.
The W3C syntax is extended to support not only union of regular sets, but also intersection, set difference, exor. Matching of subexpressions is also supported.
The library can be used for constricting lightweight scanners and tokenizers. It is a standalone library, no external regex libraries are used.
Extensions in 9.2: The library does nor only support String's, but also ByteString's and Text in strict and lazy variants