Debian Codegraph @

tests/spec/unit/globals/regular/globals_regular_regex_1.mzn

raw
1 /***
2 !Test
3 expected: !Result
4 solution: !Solution
5 x: [1, 2, 2, 4]
6 ***/
7
8 include "regular_regexp.mzn";
9
10 array [1..4] of var 1..4: x :: add_to_output;
11
12 constraint regular(x, "1 2* 4");