[xml] FW: Regular expression evaluation

Given that it's a bug... Should I raise it in bugzilla ??


-----Original Message-----
From: Daniel Veillard [mailto:veillard redhat com] 
Sent: Wednesday, August 08, 2007 7:22 PM
To: harbhanu
Cc: xml gnome org; ashwins huawei com
Subject: Re: [xml] Regular expression evaluation

On Wed, Aug 08, 2007 at 06:48:32PM +0530, harbhanu wrote:


   I am using the regular expression API xmlRegexpExec from Libxml 2.6.28

   Case I:

   RegEx: 3{0,0}(2)

   Input String :  2

   Result :  Success

   Case II:

   RegEx: (3){0,0}(2)

   Input String :  2

   Result :  Fail

  Looks like a bug,

   Case III:

   RegEx: (3){0,1}(2)

   Input String :  2

   Result :  Success

   Please  let  me  know  is  this  a  bug  ??  (seems  like...)  or some



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]