blob: 8e2f1a126b60779f7ec881f97bffe16bc909b856 [file] [log] [blame]
ilovesoupc9fef1d2012-07-08 19:30:42 +00001drop dataverse test if exists;
2create dataverse test;
3use dataverse test;
4
5write output to nc1:"rttest/string_matchesnull.adm";
6
7let $c1 := matches("helloworld",null)
8let $c2 := matches("",null)
9let $c3 := matches(null,null)
10let $c4 := matches2("helloworld",null, "")
11let $c5 := matches2("",null, "i")
12let $c6 := matches2(null,null, null)
13return {"result1": $c1, "result2": $c2, "result3": $c3, "result4": $c4, "result5": $c5, "result6": $c6}