Lines Matching refs:pattern
134 while read -r pattern string expected
136 then if [[ $string != $pattern ]]
137 then err_exit "$pattern does not match $string"
140 then err_exit "\${$string##$pattern} not null"
142 if [ "${string##$pattern}" != '' ]
143 then err_exit "\"\${$string##$pattern}\" not null"
145 if [[ ${string/$pattern} != "" ]]
146 then err_exit "\${$string/$pattern} not null"
148 else if [[ $string == $pattern ]]
149 then err_exit "$pattern matches $string"
297 unset i pattern string
301 do pattern+='@(?)'
303 [[ $(string=$string $SHELL -c ": \${string/$pattern/}; print \${.sh.match[26]}") == Z ]] || err_ex…
304 : ${string/$pattern/}
500 pattern=00
503 [[ $( print $(( ${var%%$pattern} )) ) == 1 ]] || err_exit "arithmetic with embeddded pattern variab…