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.
Sources | /macros/latex/required/l3kernel/l3regex.dtx |
Home page | https://www.latex-project.org |
Bug tracker | https://github.com/latex3/latex3/issues |
Repository | https://github.com/latex3/latex3 |
Version | 2024-12-09 |
Licenses | The LaTeX Project Public License 1.3c |
Copyright | 2011–2024 The LaTeX3 Project |
Maintainer | The LaTeX Project Team |
Topics | Macro support LaTeX3 |
Suggestions
Maybe you are interested in the following packages as well.
Community Comments