[MarkLogic Dev General] fn:replace Query

Kapoor, Pragya PKapoor1 at innodata.com
Wed Mar 11 02:25:51 PDT 2015


Hi,


I am running the below query


fn:replace(fn:concat('test','-',fn:current-dateTime()),'+','@')


This query is giving the following error:

[1.0-ml] XDMP-REGEX: (err:FORX0002) fn:replace("test-2015-03-11T14:46:58.44+05:30", "+", "@") -- Invalid regular expression

?

Please let me know, why ML is behaving this way.


Thanks

Pragya



"This e-mail and any attachments transmitted with it are for the sole use of the intended recipient(s) and may contain confidential , proprietary or privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this e-mail or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://developer.marklogic.com/pipermail/general/attachments/20150311/4f434801/attachment.html 


More information about the General mailing list