Comprehensive TeX Archive Network

l3regex – Regular expression facilities for LaTeX

The pack­age pro­vides reg­u­lar ex­pres­sion test­ing, ex­trac­tion of sub­matches, split­ting, and re­place­ment, all act­ing on to­ken lists. The syn­tax of reg­u­lar ex­pres­sions is mostly a sub­set of the PCRE syn­tax (and is very close to Posix), with some ad­di­tions aris­ing from the fact that TeX ma­nip­u­lates to­kens rather than char­ac­ters.

For per­for­mance rea­sons, only a lim­ited set of fea­tures are im­ple­mented. Notably, back-ref­er­ences are not sup­ported.

The pack­age is cur­rently dis­tributed as part of the LaTeX3 l3­ex­per­i­men­tal bun­dle.

Ver­sionSVN 6512 2016-05-18
Li­censeThe LaTeX Project Public Li­cense 1.3
Copy­right2011–2012 The LaTeX3 Project
Main­tainerThe LaTeX Team
Topics work done for the project to up­grade LaTeX
sup­port for de­vel­op­ment of (La)TeX macros
Guest Book Sitemap Contact Contact Author