Adds support for the \regexp command offered by Biblatex. The context is ignored, rather it will apply to all \regexp{...} commands anywhere. As the name is quite unique and all regular expressions offered by any other package should be compatible with this one, this should be a safe rule.
Alternate Designs
Could have added rules like \DeclareSourcemap to limit the context of the regexp rule, but that would significantly overcomplicate things.
Benefits
No leaky regex characters
Possible Drawbacks
A user has a regexp command that doesn't contain a regexp, and gets very confused.
Description of the Change
Adds support for the
\regexp
command offered by Biblatex. The context is ignored, rather it will apply to all\regexp{...}
commands anywhere. As the name is quite unique and all regular expressions offered by any other package should be compatible with this one, this should be a safe rule.Alternate Designs
Could have added rules like
\DeclareSourcemap
to limit the context of the regexp rule, but that would significantly overcomplicate things.Benefits
No leaky regex characters
Possible Drawbacks
A user has a
regexp
command that doesn't contain a regexp, and gets very confused.Applicable Issues
Fix #186