Re: [xml] Trouble figuring out xmlregexp regular expressions

2021-03-20 Thread Timothy Wrona via xml
Thanks for the extra info :) I did a few tests and confirmed that this regex library appears to work for the regular expressions I will need to parse. Character class subtractions (a feature somewhat unique to the XML Schema regex language) seems to work, and it does appear to implicitly anchor

Re: [xml] Trouble figuring out xmlregexp regular expressions

2021-03-20 Thread Timothy Wrona via xml
Thanks Mike! That is really helpful :) I think I have a basic understanding of how it works now and have figured out how to compile and execute basic regular expressions. It's still not really clear what some of the other functions mean though. There are things about "regular expression context"

Re: [xml] Trouble figuring out xmlregexp regular expressions

2021-03-20 Thread Mike Dalessio via xml
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 wrote: >