[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSLT Regex for Matching Curly Braces
On 11.06.2019 19:26, Liam R. E. Quin liam@xxxxxxxxxxxxxxxx wrote:
<xsl:variable as="xs:string" name="within-braces"> [{] <!--* opening bace *--> ( <!--* $1 *--> [^{}]+ <!--* not containing a brace *--> ) <!--* end $1 *--> [}] <!--* closing brace *--> </xsl:variable> I like this! It never came to me that I can just have text content with XML comments when defining a regex for 'x'-flag matching.
Therebs always something additional to point out here in pedantbs paradise, dear Liam! Gerrit
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|