in reply to Basic Perl Regular Expressions

perlre has the full details on how all of this stuff works