xref: /freebsd/contrib/bmake/unit-tests/varmod-match.exp (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
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