[xml] Regular expression evaluation



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

 

Case III:

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

Input String :  2

Result :  Success

 

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

 

Thanks !!

 

Regards,

Harbhanu

 



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