Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Sculpting text with regex, grep, sed, awk, emacs and vim (2012). Parent comment
One very useful feature in pcregrep is outputting the matched subpattern only. For example if you do:
echo 'abcdefg' | pcregrep -o2 'a(bc)d(ef)g'
There are no comments on this comment yet.
One very useful feature in pcregrep is outputting the matched subpattern only. For example if you do:
It will output only second matched subpattern.