On Fri, Aug 03, 2007 at 08:22:37PM +0530, Ashwin wrote:
> 
>    Hi,
> 
>    While testing the xmlFARegExec function if I give the following input
> 
>    (0|1|2|3|4|5|6|7|8|9)   (0,10)   (The rule to be used for matching the
>    input expression)
> 
>    Expression to be matched 1234567891 (length 10)
> 
>    This  is returning a failure, if I reduce the expression by 1 it works
>    fine. Is this because of incorrect usage?

  Hum, no, looks like a bug, strange ...
paphio:~/XML -> ./testRegexp '(0|1|2|3|4|5|6|7|8|9){0,10}' '1234567891'
Testing (0|1|2|3|4|5|6|7|8|9){0,10}:
1234567891: Fail
paphio:~/XML -> ./testRegexp '(0|1|2|3|4|5|6|7|8|9){0,10}' '123456789'
Testing (0|1|2|3|4|5|6|7|8|9){0,10}:
123456789: Ok

  Could be worth bugzilla'ing that's something I should be able to fix !

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
[EMAIL PROTECTED]  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to