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

Danny Sinang d.sinang at gmail.com
Tue Mar 24 13:25:28 PDT 2015


Never mind.

This pattern worked :

("1", "5").


On Tue, Mar 24, 2015 at 4:22 PM, Danny Sinang <d.sinang at gmail.com> wrote:

> 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/11ae8612/attachment.html 


More information about the General mailing list