mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-15 00:42:06 +01:00
809 B
809 B
Evaluate Regular Expressions in OpenPGP Signatures using TCL-Regex
RFC4880 specifies contains a section about RegularExpression subpackets on signatures. Within this section, the syntax of the RegularExpression subpackets is defined to be the same as Henry Spencer's "almost public domain" regular expression package.
Since Java's java.util.regex
syntax is too powerful, this module exists to implement regex evaluation using tcl-regex
which appears to be a Java port of Henry Spencers regex package.
To make use of this implementation, simply call
RegexInterpreterFactory.setInstance(new HSRegexInterpreterFactory());