http://qs1969.pair.com?node_id=11137896


in reply to regex in perl

It's doing exactly what you're telling it to do since code (heh) is in the examples you. grep works conceptionally the same way as the utility, so you need to define a regexp that's sufficiently selective.