Re: [xml] FW: Regular expression evaluation



On Thu, Aug 23, 2007 at 10:56:38PM +0530, Ashwin wrote:
On Mon, Aug 20, 2007 at 12:17:31PM +0530, harbhanu wrote:

   >>   Not really, I would basically have to draw the graphs and poke at
   the code if I were to chase it now. maybe I will look at it tonight,

   Any lead for this regular expression problem??

Finally stole some time to look at it. Fairly complex, but I should
have a proper fix in SVN head. Please rerun your tests with it and raise
any issue that may show up at this time,


Hi,
Thanks for the fix, and regret that the patch I sent got scrambled so badly
over the mail (It would not have worked anyhow, so better best forgotten:\
).
While testing I am getting a failure for the following input
(0){0,1}(1){0,1}(2|3|4|5|6|7|8|9) 
Input string- 23456789....
Is this a problem?

paphio:~/XML -> ./testRegexp '(0){0,1}(1){0,1}(2|3|4|5|6|7|8|9)' '23456789'
Testing (0){0,1}(1){0,1}(2|3|4|5|6|7|8|9):
23456789: Fail
paphio:~/XML -> 

 looks normal to me, I don't see how the regexp could accept it

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]