Lines Matching full:words

3 # Tests for the ':M' modifier, which keeps only those words that match the
34 # '*' matches 0 or more characters. The whole pattern matches all words that
84 # Only keep words that start with an uppercase letter.
89 # Only keep words that start with a character other than an uppercase letter.
138 # Without the 'b' in the below words, the backslash would end a word and thus
139 # influence how the string is split into words.
140 WORDS= a\b a[\]b ab a\\b
141 .if ${WORDS:Ma[\]b} != "a\\b"
149 WORDS= [ ] [] \] ]]
150 .if ${WORDS:M[[-]]} != "[] \\] ]]"
157 WORDS= [a \a ]a []a \]a ]]a [a] \a] ]a] ba]
158 .if ${WORDS:M[b[-]a]} != "[a] \\a] ]a] ba]"
165 WORDS= - -]
166 .if ${WORDS:M[-]} != "-"
170 # Only keep words that don't start with s and at the same time end with
259 # Without the modifier ':tW', the string is split into words. Whitespace
260 # around the words is discarded, and whitespace between the words is
287 WORDS= a a[
289 .if ${WORDS:Ma[} != ""
295 WORDS= a a[ aX
297 .if ${WORDS:Ma[^} != "a[ aX"
303 WORDS= - + x xx 0 1 2 3 4 [x1-3
305 .if ${WORDS:M[-x1-3} != "- x 1 2 3"
310 # words that end with one of the characters from the list.
311 WORDS= - + x xx 0 1 2 3 4 00 01 10 11 000 001 010 011 100 101 110 111 [x1-3
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}
320 WORDS= - + x xx 0 1 2 3 4 [x1-3
322 .if ${WORDS:M[^-x1-3} != "+ 0 4"
333 WORDS= \\ \a ${:Ux\\}
336 .if ${WORDS:M${PATTERN}} != "\\\\ x\\"
342 WORDS= [x- x x- y
344 .if ${WORDS:M[x-} != "x"
354 WORDS= [x- x x- y yyyyy
356 .if ${WORDS:M[^x-} != "[x- y yyyyy"