At 22:33 -0700 7/9/01, Bruce Van Allen wrote: >Wait -- doesn't the $ 'anchor' the regex to the end of the string? If >so, that's where the matching attempts *start*, yes? Not according to Jeffrey E.F. Friedl's excellent discussion in "Mastering Regular Expressions." It does work at the other end: ^blah prevents looking for blah anywhere except at the beginning. But the $, while it requires reaching the end in order to match doesn't change the starting point or the backtracking scheme. [Speaking now of the type of regular expression engine in Perl.] --John -- John Baxter [EMAIL PROTECTED] Port Ludlow, WA, USA
- Re: [MacPerl] how to get just the file name from full p... Morbus Iff
- Re: [MacPerl] how to get just the file name from full p... Todd Richmond
- Re: [MacPerl] how to get just the file name from full p... Scott R. Godin
- Re: [MacPerl] how to get just the file name from full p... Morbus Iff
- Re: [MacPerl] how to get just the file name from f... Scott R. Godin
- Re: [MacPerl] how to get just the file name from full p... Katherine Richmond
- Re: [MacPerl] how to get just the file name from full p... John W Baxter
- Re: [MacPerl] how to get just the file name from f... Ronald J Kimball
- Re: [MacPerl] how to get just the file name from full p... John W Baxter
- Re: [MacPerl] how to get just the file name from full p... Bruce Van Allen
- Re: [MacPerl] how to get just the file name from full p... John W Baxter
- Re: [MacPerl] how to get just the file name from f... Bruce Van Allen