Re: [xsl] Ungready Flag on Regex

Subject: Re: [xsl] Ungready Flag on Regex
From: "Liam R. E. Quin liam@xxxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 8 Oct 2020 14:26:16 -0000
On Thu, 2020-10-08 at 14:23 +0000, Christophe Marchand
cmarchand@xxxxxxxxxx wrote:
> 
> B B B  <xsl:analyze-string select="$s" regex="\*\*[^*]*\*\*">

You want [^*]*?

the non-greedy version of *

Liam

-- 
Liam Quin,B https://www.delightfulcomputing.com/
Available for XML/Document/Information Architecture/XSLT/
XSL/XQuery/Web/Text Processing/A11Y training, work & consulting.
Barefoot Web-slave, antique illustrations: B http://www.fromoldbooks.org

Current Thread