Lines Matching +full:three +full:- +full:level

1 # $NetBSD: varmod-match.mk,v 1.26 2024/07/09 17:07:23 rillig Exp $
36 .if ${One Two Three Four five six seven so s:L:Ms??*} != "six seven"
81 # [a-z] matches 1 character from the range 'a' to 'z'
82 # [z-a] matches 1 character from the range 'a' to 'z'
85 .if ${One Two Three Four five six seven:L:M[A-Z]*} != "One Two Three Four"
90 .if ${One Two Three Four five six seven:L:M[^A-Z]*} != "five six seven"
119 # [a-c] matches exactly 1 character from the range 'a' to 'c'
120 .if ${ A B C a b c d [a-c] [a] :L:M[a-c]} != "a b c"
124 # [c-a] matches the same as [a-c]
125 .if ${ A B C a b c d [a-c] [a] :L:M[c-a]} != "a b c"
129 # [^a-c67]
132 .if ${ A B C a b c d 5 6 7 8 [a-c] [a] :L:M[^a-c67]} != "A B C d 5 8"
145 # [[-]] May look like it would match a single '[', '\' or ']', but
150 .if ${WORDS:M[[-]]} != "[] \\] ]]"
154 # [b[-]a]
155 # Same as for '[[-]]': the character list stops at the first
158 .if ${WORDS:M[b[-]a]} != "[a] \\a] ]a] ba]"
162 # [-] Matches a single '-' since the '-' only becomes part of a
165 WORDS= - -]
166 .if ${WORDS:M[-]} != "-"
175 .if ${One Two Three Four five six seven:L:M[^s]*[ex]} != "One Three five"
187 # - in a character list, forms a character range
189 # ( while parsing the pattern, starts a nesting level
190 # ) while parsing the pattern, ends a nesting level
191 # { while parsing the pattern, starts a nesting level
192 # } while parsing the pattern, ends a nesting level
197 # The pattern can come from an expression. For single-letter
241 .if ${:Ua \$ sign any-asterisk:M*\$*} != "any-asterisk"
269 # Before 2020-06-13, this expression called Str_Match 601,080,390 times.
270 # Since 2020-06-13, this expression calls Str_Match 1 time.
274 # Before 2023-06-22, this expression called Str_Match 2,621,112 times.
279 # Since 2023-06-22, Str_Match no longer backtracks.
301 # [-x1-3 Incomplete character list, matches those elements that can be
303 WORDS= - + x xx 0 1 2 3 4 [x1-3
304 … evaluating variable "WORDS" with value "- + x xx 0 1 2 3 4 [x1-3": Unfinished character list in p…
305 .if ${WORDS:M[-x1-3} != "- x 1 2 3"
309 # *[-x1-3 Incomplete character list after a wildcard, matches those
311 WORDS= - + x xx 0 1 2 3 4 00 01 10 11 000 001 010 011 100 101 110 111 [x1-3
312 …WORDS" with value "- + x xx 0 1 2 3 4 00 01 10 11 000 001 010 011 100 101 110 111 [x1-3": Unfinish…
313 .if ${WORDS:M*[-x1-3} != "- x xx 1 2 3 01 11 001 011 101 111 [x1-3"
314 . warning ${WORDS:M*[-x1-3}
317 # [^-x1-3
320 WORDS= - + x xx 0 1 2 3 4 [x1-3
321 … evaluating variable "WORDS" with value "- + x xx 0 1 2 3 4 [x1-3": Unfinished character list in p…
322 .if ${WORDS:M[^-x1-3} != "+ 0 4"
340 # [x- Incomplete character list containing an incomplete character
342 WORDS= [x- x x- y
343 …: while evaluating variable "WORDS" with value "[x- x x- y": Unfinished character range in pattern…
344 .if ${WORDS:M[x-} != "x"
348 # [^x- Incomplete negated character list containing an incomplete
354 WORDS= [x- x x- y yyyyy
355 …ile evaluating variable "WORDS" with value "[x- x x- y yyyyy": Unfinished character range in patte…
356 .if ${WORDS:M[^x-} != "[x- y yyyyy"
373 # Before var.c 1.1031 from 2022-08-24, the following expressions caused an
374 # out-of-bounds read beyond the indirect ':M' modifiers.