On Sat, Feb 21, 2009 at 10:00 AM, Michael Glavassevich
<mrgla...@ca.ibm.com> wrote:

<snip/>

> RegularExpression isn't part of the public API. It's an internal class. See
> more discussion on this here [1].

<snip/>

> [1] http://markmail.org/message/kbjnorykcn2kwcby

OK, but I specifically needed an XPath compliant regex, and not the
java.util.regex implementation. I need an implementation of regex in
SPARQL [2], which is defined as XPath fn:matches, and trying to
shoehorn java.util.regex into position, or writing my own
implementation is inappropriate. So is fn:matches available through a
public API? After searching through xercesImpl I figured that
RegularExpression was the way to do it (or REUtil, which just seems to
be a simple wrapper around RegularExpression).

I've never done more than basic stuff with xerces, so I don't even
really know what constitutes the "public" API. (any tips there?)

Regards,
Paul Gearon

[2] http://www.w3.org/TR/rdf-sparql-query/#funcex-regex

---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org
For additional commands, e-mail: j-users-h...@xerces.apache.org

Reply via email to