Subject: Anyway to avoid a syntax error when matching with a regex containing both '" for example ['"](.*?)["']
From: Alex Muir <alex.g.muir@xxxxxxxxx>
Date: Thu, 8 Oct 2009 11:45:18 +0000
|
Hi,
Is there any way to avoid a syntax error with a regex containing both
'" for example ['"](.*?)["'] in the following select.
<xsl:value-of select="matches(., '['"](.*?)["']')"/>
Working with Oxygen 10.3, F [Saxon-B 9.1.0.7] I'll get an XPath syntax
error at char 14 on line 44 in {matches(., '['"](.*?)["']'}:
expected ")", found "<string-literal>"
I'm sure this is an easy question but I wasn't able to find the right
Google search to answer it.
Thanks
--
Alex
https://sites.google.com/a/utg.edu.gm/alex
|