in reply to Re^2: Regular expression queston
in thread Regular expression queston

What book are you using?

See perlintro#Regular expressions the Simple matching paragraph

See perltrap ( search for /foo/ )

For future reference see Common Perl Pitfalls