Re: Regex wildcard in XML Query

2014-10-15 Thread Glen Bojsza
I think I may have given the wrong phrasing... I would say I would like to be able to XML queries similar to what can be done by Regex (but not use regex to do the actual query). Basically, I have found several references where XML language supports it's own style of "regex" like commands. Since

Re: Regex wildcard in XML Query

2014-10-15 Thread Björnke von Gierke
I'll just leave this here: http://stackoverflow.com/a/1732454/2149933 On 09 Oct 2014, at 18:41, Peter Haworth wrote: > On Wed, Oct 8, 2014 at 9:12 PM, Glen Bojsza wrote: > >> > xsi:type="xsd:pattern">IGD.NetDevice.\d{2}\.NetCommonInterfaceConfig. >> > > Hi Glen, > Couple of issues with using

Re: Regex wildcard in XML Query

2014-10-09 Thread Peter Haworth
On Wed, Oct 8, 2014 at 9:12 PM, Glen Bojsza wrote: > xsi:type="xsd:pattern">IGD.NetDevice.\d{2}\.NetCommonInterfaceConfig. > Hi Glen, Couple of issues with using the above as a regex. The period character means any character except newline in a regex. By chance it works for the string you're