xsl-list
[Top] [All Lists]

Re: [xsl] Support for lookaround regexp in XSLT -- any time soon?

2013-03-01 02:59:52
alternately, you may find that some processors 'bend the rules a
little' eg. I think (I maybe wrong) basex for example may allow
lookbehind/lookahead.

unsure about the original reason to restrict regex, as it seems to
just confuse people when a regex they lovingly crafted elsewhere
doesn't work (not that the various java, Perl, etc schisms help).

I am all for upgrading regex expressions, feels like very low hanging
fruit to me.

J


On Thu, Feb 28, 2013 at 1:20 AM, Manuel Souto Pico
<m(_dot_)soutopico(_at_)gmail(_dot_)com> wrote:
Hi there,

I've been using XSLT/XPath for some time to find patterns in
(XML-based) XLIFF files, but now I'm going to need more complex
regexps (e.g. positive/negative lookaround/lookbehind/lookahead, aka
zero-width assertions, or non-capturing groups) and I see that they
are not supported.

My question is whether there are plans to support these advanced
features in the future. Does anyone know?

I know .NET or Perl regular expressions support that, but I would
rather stick to XSLT if I can. It makes my life much simpler.

Thanks in advance.

Cheers,
Manuel Souto Pico

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--