Select only those matches that exactly match the whole line. For a regular expression pattern, this is like parenthesizing the pattern and then surrounding it with ^ and $. 只选择那些与整行完全匹配的匹配项。对于一个正则表达式模式,这就像周围加上括弧模式然后^和$。 1. 2. 3. General Output ...
-w, --word-regexp force PATTERN to match only whole words:全字符匹配,即目标行中匹配正则范本的必须是一个完整的词 -x, --line-regexp force PATTERN to match only whole lines:整行匹配,要求目标行整行必须匹配正则范本 -z, --null-data a data line ends in 0 byte, not newline:以字节0而不...
--no-ignore-casedonot ignorecasedistinctions(default)-w, --word-regexp match only whole words -x, --line-regexp match only whole lines -z, --null-data a data line ends in0byte, not newline Miscellaneous: -s, --no-messages suppress error messages -v, --invert-matchselectnon-matching...
so here 'and' and 'pony' are both uncapitalised but because they are amongst otherwise all words that start with a capital, I want it to still catch the whole thing (up until the break) Also, I want it to catch single title case words if starting on a new line and foll...
to match only whole words -x, --line-regexp force PATTERN to match only whole lines -z, --null-data a data line ends in 0 byte, not newline Miscellaneous: -s, --no-messages suppress error messages -v, --invert-match select non-matching lines -V, --...
-w, --word-regexp force PATTERN to match only whole words -x, --line-regexp force PATTERN to match only whole lines -z, --null-data a data line ends in 0 byte, not newline Miscellaneous: -s, --no-messages suppress error messages ...
-w, --word-regexp force PATTERN to match only whole words -x, --line-regexp force PATTERN to match only whole lines -z, --null-data a data line endsin0byte, not newline Miscellaneous: -s, --no-messages suppress error messages ...
-w, --word-regexp force PATTERN to match only whole words -x, --line-regexp force PATTERN to match only whole lines -z, --null-data a data line ends in 0 byte, not newline Miscellaneous: -s, --no-messages suppress error messages ...
--word-regexp forcePATTERNto match only whole words-x,--line-regexp forcePATTERNto match only whole lines-z,--null-data a data line endsin0byte,not newlineMiscellaneous:-s,--no-messages suppress error messages-v,--invert-match select non-matching lines-V,--version display version ...
-x, --line-regexp Select only those matches that exactly match the whole line. For a regular expression pattern, this is like parenthesizing the pattern and then surrounding it with ^ and $. -y Obsolete synonym for -i. General Output Control -c, --count Suppress normal output; inste...