|
|
|
|
|
by lifthrasiir
3022 days ago
|
|
Which is a fancy way to say `grep -iv '^c'`. EDIT: Oh, I missed that the input was a single line. I personally feel that control verbs are bad additions to the regexp, even though I do know that it is not a big addition to the regexp engine itself (e.g. naturally extended from posesssive quantifiers like `a++` or atomic groups `(?>foo)`). Most uses of such verbs can be expressed with combined parsers and simpler regexps, in the much simpler and maintainable way. |
|
the `-o` option allows to output only matching portion, the regex is meant to extract all words other than those starting with 'c' or 'C'
here's hopefully better example