in reply to Care to explain s/\A\s*//?
in thread Help me write a good reg-exp for this text
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 ]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Care to explain s/\A\s*//?
by bart (Canon) on Sep 05, 2003 at 17:46 UTC |