☰
Debian Codegraph
@
2.9.7+dfsg1-1
2.10.0+dfsg1-1
/
/
tests
/
spec
/
unit
/
globals
/
regular
/
globals_regular_regex_1.mzn
☽
☼
tests/spec/unit/globals/regular/globals_regular_regex_1.mzn
code
plain
raw
MPL-2.0
2014-2025 Monash University and NICTA
debian/copyright
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");