Subject: Re: [xsl] Analyze-string Regex to Match Content within Curly Braces From: "Graydon graydon@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Thu, 19 Nov 2020 00:15:12 -0000 |
On Wed, Nov 18, 2020 at 09:50:31PM -0000, Wendell Piez wapiez@xxxxxxxxxxxxxxx scripsit: > So maybe today a solution is to pad with extra {''} around your string > literal (escaping ')? > > <xsl:analyze-string regex="{ '\{.*?\}' }"> ... > > With trepidation (forgive me if this has already been suggested), Would that syntax not be rather easily confused with the braces of AVT evaluation? (Not that I haven't want the braces of XQuery evaluation in places like match attributes.) -- Graydon Saunders | graydonish@xxxxxxxxx ^fs oferiode, pisses swa mfg. -- Deor ("That passed, so may this.")
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Analyze-string Regex to M, Wendell Piez wapiez@ | Thread | Re: [xsl] Analyze-string Regex to M, Don Smith dsmith_loc |
Re: [xsl] Analyze-string Regex to M, Wendell Piez wapiez@ | Date | Re: [xsl] document( URI ) with acce, Alexandre Hoïde alex |
Month |