Tweaked egrep