Re: [xml] Regular expression evaluation



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

   Hi,

   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

  yes,

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]