regular expression
Recursive Regular Expressions
2010/03/24
<img src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/yo-dawg-regex.jpg" alt="Yo dawg, I heard you liked regular expressions, so I put a regex in your regex so you can …
Quickly search and replace string with Regular expression in multiple files using perl
2010/01/27
for i in *; do perl -p -w -e ’s/a(.*)b.*/d$1e/g’ $i > temp/$i; done for i in *; do perl -pi -w -e ’s/a(.*)b.*/d$1e/g’ $i ; done […] The first one can …
using cscope with vim
2010/01/08
Here’s the best of the two links that I found with <a class="zem_slink freebase/en/google" title="Google" rel="homepage" …
Display the output of a command from the first line until the first instance of a regular expression.
2010/01/04
| perl -n -e 'print "$_" if 1 … /«a class="zem_slink freebase/en/regular_expression" title="Regular expression" rel="wikipedia" …