Re: [xml] Regexp Failure
- From: Daniel Veillard <veillard redhat com>
- To: Ashwin <ashwins huawei com>
- Cc: xml gnome org, ranjit huawei com
- Subject: Re: [xml] Regexp Failure
- Date: Fri, 3 Aug 2007 11:50:15 -0400
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/
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]