- From: <bugzilla@wiggum.w3.org>
- Date: Wed, 25 Jan 2006 12:09:16 +0000
- To: public-qt-comments@w3.org
- Cc:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=2711
------- Additional Comments From davidc@nag.co.uk  2006-01-25 12:09 -------
> The pattern is:
>    <xsd:pattern value="[^#]*([^\)]*[^#]\))*[^\)]*"/>
> 
I think that allows (any string containing) #))
#)) matches as shown (using . to denote a null string)
[^#]*([^\)]*[^#]\))*[^\)]*
  .     #     )  )   .
I think probably
       <xsd:pattern value="[^#]*([^#]*#+[^\)]+)*#*"/>
does the job, although thinking about it gave me a headache:-)
Received on Wednesday, 25 January 2006 12:09:24 UTC