Re: Analyze-string Regex to Match Content within Curly Braces
| Newsgroups | gmane.text.xml.xsl.general.mulberrytech |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Nov 18, 2020 at 09:50:31PM -0000, Wendell Piez [email protected] 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 | [email protected] Ãæs oferéode, ðisses swá mæg. -- Deor ("That passed, so may this.") --~---------------------------------------------------------------- XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/3329386 or by email: [email protected] --~--