[MarkLogic Dev General] cts:value-match $pattern parameter

Danny Sinang d.sinang at gmail.com
Tue Mar 24 13:22:40 PDT 2015


cts:value-match() <https://docs.marklogic.com/cts:value-match#pattern>
apparently accepts a "$pattern" parameter.

It works if I specify a pattern of "1" and a pattern of "5" .

But how do I tell it to match values that are either "1" or "5".

I tried "1|5", "[1|5]", "1 or 5" but they don't work.

Regards,
Danny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://developer.marklogic.com/pipermail/general/attachments/20150324/2f426b7e/attachment.html 


More information about the General mailing list