summaryrefslogtreecommitdiff
path: root/unit-tests/varmod-match.exp
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests/varmod-match.exp')
-rw-r--r--unit-tests/varmod-match.exp15
1 files changed, 11 insertions, 4 deletions
diff --git a/unit-tests/varmod-match.exp b/unit-tests/varmod-match.exp
index 11777e086d4f..080e9e0f74de 100644
--- a/unit-tests/varmod-match.exp
+++ b/unit-tests/varmod-match.exp
@@ -1,5 +1,12 @@
-match-char-class:
- uppercase numbers: One Two Three Four
- all the others: five six seven
- starts with non-s, ends with [ex]: One Three five
+CondParser_Eval: ${NUMBERS:M[A-Z]*} != "One Two Three Four"
+lhs = "One Two Three Four", rhs = "One Two Three Four", op = !=
+CondParser_Eval: ${NUMBERS:M[^A-Z]*} != "five six seven"
+lhs = "five six seven", rhs = "five six seven", op = !=
+CondParser_Eval: ${NUMBERS:M[^s]*[ex]} != "One Three five"
+lhs = "One Three five", rhs = "One Three five", op = !=
+CondParser_Eval: ${:U****************:M****************b}
+CondParser_Eval: ${:Ua \$ sign:M*$$*} != "\$"
+lhs = "$", rhs = "$", op = !=
+CondParser_Eval: ${:Ua \$ sign any-asterisk:M*\$*} != "any-asterisk"
+lhs = "any-asterisk", rhs = "any-asterisk", op = !=
exit status 0