xref: /freebsd/contrib/bmake/unit-tests/varmod-match.exp (revision 6ba2210ee039f2f12878c217bcf058e9c8b26b29)
1CondParser_Eval: ${NUMBERS:M[A-Z]*} != "One Two Three Four"
2lhs = "One Two Three Four", rhs = "One Two Three Four", op = !=
3CondParser_Eval: ${NUMBERS:M[^A-Z]*} != "five six seven"
4lhs = "five six seven", rhs = "five six seven", op = !=
5CondParser_Eval: ${NUMBERS:M[^s]*[ex]} != "One Three five"
6lhs = "One Three five", rhs = "One Three five", op = !=
7CondParser_Eval: ${:U****************:M****************b}
8CondParser_Eval: ${:Ua \$ sign:M*$$*} != "\$"
9lhs = "$", rhs = "$", op = !=
10CondParser_Eval: ${:Ua \$ sign any-asterisk:M*\$*} != "any-asterisk"
11lhs = "any-asterisk", rhs = "any-asterisk", op = !=
12exit status 0
13