Home | History | Annotate | Download | only in unit-tests

Lines Matching refs:the

3 # As of 2020-08-01, the :M and :N modifiers interpret backslashes differently,
4 # depending on whether there was an expression somewhere before the
7 # Apart from the different and possibly confusing debug output, there is no
8 # difference in behavior. When parsing the modifier text, only \{, \} and \:
9 # are unescaped, and in the pattern matching these have the same meaning as
10 # their plain variants '{', '}' and ':'. In the pattern matching from
23 # XXX: As of 2020-11-01, when an escaped ':' occurs before the
24 # expression, the whole modifier text is subject to unescaping '\:' to ':',
25 # before the expression is expanded. This means that the '\:' in
26 # the expression is expanded as well, turning ${:U\:} into a simple
30 # XXX: As of 2020-11-01, the modifier on the right-hand side of the
31 # comparison is parsed differently though. First, the expression
32 # is parsed, resulting in ':' and needSubst=true. After that, the escaped
34 # Therefore the escaped ':' is kept as-is, and the final pattern becomes
37 # If ParseModifier_Match had used the same parsing algorithm as Var_Subst,
48 # XXX: As of 2020-11-01, unlike all other variable modifiers, a '$' in the
57 # the ':' at the end of the modifier, which results in the pattern '\$'.
58 # No unescaping takes place since the pattern neither contained '\:' nor
59 # '\{' nor '\}'. But the text is expanded, and a lonely '$' at the end
60 # is silently discarded. The resulting expanded pattern is thus '\', that
62 # expect+1: Unfinished backslash at the end in pattern "\" of modifier ":M"
67 # In lint mode, the case of a lonely '$' is covered with an error message.
70 # expect+1: Unfinished backslash at the end in pattern "\" of modifier ":M"
75 # The control flow of the pattern parser depends on the actual string that
77 # in behavior, or a proof that the behavior does not depend on the actual
87 # when the range ends with the character ']'.
89 # 'A' begins the range, 'B' is in the middle of the range, ']' ends the range,
90 # 'a' is outside the range.
92 # The ']' is part of the character range and at the same time ends the
95 # The first ']' is part of the character range and at the same time ends the
98 # The first ']' is part of the character range and at the same time ends the
101 # For negative character lists, the ']' ends the character range but does not
102 # end the character list.
117 # In brackets, the backslash is just an ordinary character.