The \A anchors the search at the beginning of the string. A ^ anchors a search at the beginning of the LINE in a string. Documentation is a wonderful thing.$ perldoc perlre
--
[ e d @ h a l l e y . c c ]
In reply to Re: Care to explain s/\A\s*//?
by halley
in thread Help me write a good reg-exp for this text
by waxmop
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |