Re: [xml] Trouble figuring out xmlregexp regular expressions



Hi Tim,

I don't know much about the regular _expression_ support, but there does appear to be a test harness that exercises it. You may want to take a look at https://gitlab.gnome.org/GNOME/libxml2/-/blob/master/testRegexp.c.

-m


On Sat, Mar 20, 2021 at 12:05 AM Timothy Wrona via xml <xml gnome org> wrote:
Hi,

I am working on a library that will need to parse strings using regular expressions conformant to the XML Schema regular _expression_ grammar (https://www.regular-expressions.info/xml.html). I ended up coming across libxml2 and it looks very promising, but I can't seem to figure out how the xmlregexp portion of the library works. I read through the autogenerated documentation http://xmlsoft.org/html/libxml-xmlregexp.html, but it isn't really clear exactly where to start. Is there anywhere I can find some examples of the regular _expression_ portion of the library in use?

Thanks,
Tim
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml gnome org
https://mail.gnome.org/mailman/listinfo/xml


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