You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Ross McDonald <ro...@celebrus.com> on 2013/04/23 17:49:16 UTC
[jxpath] sending regular expression as parameter in custom extension
Hi.
Is it possible to send regular expressions in custom extension function
calls with JXPath ? Can anyone point to any examples ?
I am currently getting :
org.apache.commons.jxpath.JXPathInvalidSyntaxException: Invalid XPath:
'regex:apply(some/path, xxx, $2)'. Invalid symbol '\\' after:
'regex:apply(some/path, (.*'
where xxx is an arbitrary regular expression.
I am probably going about this completely wrong.
Thanks for your help.
Ross.