Re: [xsl] Replace the portion of text that matches pattern: XPath versus SNOBOL

Subject: Re: [xsl] Replace the portion of text that matches pattern: XPath versus SNOBOL
From: "Michael Kay michaelkay90@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 23 Mar 2025 11:16:01 -0000
> I'd probably have used
>
>
> replace($WORD, '^([^A]*)A', '$1E')
>

But that relies on doing a negative match, which is tricky to achieve it it's
more than one character you're trying to replace.

Michael Kay
Saxonica

Current Thread