- From: Michael Kay <mike@saxonica.com>
- Date: Tue, 9 Feb 2016 18:41:37 +0000
- To: Michael Kay <mike@saxonica.com>
- Cc: Abel Braaksma <abel.braaksma@xs4all.nl>, Michael Dyck <jmdyck@ibiblio.org>, public-xsl-query@w3.org
I've added test case fn-matches-51 to check this. Michael Kay Saxonica > On 9 Feb 2016, at 18:26, Michael Kay <mike@saxonica.com> wrote: > > >> On 9 Feb 2016, at 17:42, Abel Braaksma <abel.braaksma@xs4all.nl> wrote: >> >> I think that [()] is invalid, it should be [\(\)], because capturing inside a class is explicitly disallowed, isn't it? > > > I checked this in XSD. The only characters that need to be escaped in a character class are "[" and "]", or in some situations "-" and "^". It seems that parens inside a character class just represent parens to be matched, and have no syntactic or semantic significance. > > The existing F+O text didn't explicitly say that opening parens within a character class are not counted. I took this as being obviously an oversight, and fixed it as part of the tidy-up. > > Michael Kay > Saxonica >
Received on Tuesday, 9 February 2016 18:42:23 UTC