Hi,
> So the first question is: does that class do what I need? Is that class
> implementing the Schema regular expressions?
Almost definitely.
>
> The second one is technical, I've tried naively to do something like:
>
> RegularExpression *rex;
> rex = new RegularExpression("foo");
> if (rex->matches("foo"))
> cout << "Eureka!" << endl;
> else
> cout << "Sob :-(" << endl;
>
> but I got a segfault just while trying to instantiate the
> RegularExpression object.
>
> What am I doing wrong? Any hints?
Are you initialising xerces? If you want to see some examples of how to
use the regular expression stuff take a look at Pathan 2
(software.decisionsoft.com). There are some functions that make use of the
stuff. If you need any help after this then give us a shout.
Gareth
--
Gareth Reakes, Head of Product Development +44-1865-203192
DecisionSoft Limited http://www.decisionsoft.com
XML Development and Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]