libXSLT Perl 中的 EXSLT 正则表达式

EXSLT regexp in libXSLT Perl

我已经提到 this question and I wanted to know if exsl regexp 在 Perl 的 libXSLT 中完全可用。 (该页面最后更新于 2001-06-30 这让我想知道是否后来添加了支持并且页面没有更新)。

如果不是,在使用 Perl-libXSLT 执行 XSLT 1.0 转换时使用正则表达式的替代方法是什么?

PS: 我正在尝试解决一个用例,我必须从 XSLT 2.0 (JAVA-Saxon) 转换到 XSLT 1.0 (Perl-libXSLT) 转换。

Perl 发行版 XML::LibXSLT 基于 libxsltlibexslt C 库。 libexslt doesn't support the regexp module. But it's possible to register custom extension functions 执行 Perl 代码。