hxt-regex-xmlschema: A regular expression library for W3C XML Schema regular expressions
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
Warnings:
- 'ghc-options: -O2' is rarely needed. Check that it is giving a real benefit and not just imposing longer compile times on your users.
- 'ghc-prof-options: -fprof*' profiling flags are typically not appropriate for a distributed library package. These flags are useful to profile this package, but when profiling other packages that use this one these flags clutter the profile output with excessive detail. If you think other packages really want to see cost centres from this package then use '-fprof-auto-exported' which puts cost centres only on exported functions. Alternatively, if you want to use this, make it conditional based on a Cabal configuration flag (with 'manual: True' and 'default: False') and enable that flag during development.
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
Properties
Versions | 9.0.0, 9.0.1, 9.0.4, 9.1.0, 9.2.0, 9.2.0.1, 9.2.0.2, 9.2.0.3, 9.2.0.7, 9.2.0.7 |
---|---|
Change log | None available |
Dependencies | base (>=4 && <5), bytestring (>=0.10), hxt-charproperties (>=9), parsec (>=2.1 && <4), text (>=0.10) [details] |
License | MIT |
Copyright | Copyright (c) 2010- Uwe Schmidt |
Author | Uwe Schmidt |
Maintainer | Uwe Schmidt <uwe@fh-wedel.de> |
Category | Text |
Home page | http://www.haskell.org/haskellwiki/Regular_expressions_for_XML_Schema |
Source repo | head: git clone git://github.com/UweSchmidt/hxt.git |
Uploaded | by UweSchmidt at 2021-02-08T16:51:53Z |
Modules
[Index] [Quick Jump]
- Text
- Regex
Flags
Automatic Flags
Name | Description | Default |
---|---|---|
profile | turn profiling on | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- hxt-regex-xmlschema-9.2.0.7.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees