Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
The difference between ^ which matches the beginning of a string and \A which matches at the beginning of the string.
The difference between $ which matches the end of a string and \Z and \z which match the end of the string.
The explanations seem to make these sound like they're identical, but there must be a difference, right?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: misc. regex questions
by duff (Parson) on Apr 11, 2004 at 03:54 UTC | |
|
Re: misc. regex questions
by ysth (Canon) on Apr 11, 2004 at 05:44 UTC | |
by Anonymous Monk on Apr 11, 2004 at 06:39 UTC | |
by ysth (Canon) on Apr 11, 2004 at 19:43 UTC |