in reply to Perl One Liner Regular Expressions

Ammm...btw..one way of doing it is like this:
sed -n -e 's/^macros .*/macros regex/gp' <file>