l3regex – Regular expression facilities for LaTeX
The package provides regular expression testing, extraction of submatches, splitting, and replacement, all acting on token lists. The syntax of regular expressions is mostly a subset of the PCRE syntax (and is very close to Posix), with some additions arising from the fact that TeX manipulates tokens rather than characters.
For performance reasons, only a limited set of features are implemented. Notably, back-references are not supported.
The package is currently distributed as part of the LaTeX3 l3kernel bundle.
The LaTeX Project Public License 1.3c
The LaTeX Team|
work done for the project to upgrade LaTeX
support for development of (La)TeX macros
Maybe you are interested in the following packages as well.
- l3docstrip: Strip documentation in LaTeX 3 source
- l3keys2e: LaTeX2ε option processing using LaTeX3 keys
- xgalley: Control text feeding onto the page
- count1to: Make use of count1 to count9