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: "Roger L Costello costello@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 23 Mar 2025 10:57:43 -0000
David Carlisle provided these simpler replace() functions for obtaining the
first occurrence of pattern in WORD:

replace($WORD, '^(.*?)A', '$1E')
replace($WORD, '^([^A]*)A', '$1E')

Awesome.

Thank you, David.

Current Thread