http://www.perlmonks.org?node_id=938901


in reply to Re: string match using with an N in any position
in thread string match using with an N in any position

Why the ".*?$"?

Replies are listed 'Best First'.
Re^3: string match using with an N in any position
by pvaldes (Chaplain) on Nov 18, 2011 at 18:35 UTC
    Just a matter of personal preferences. It will helps me to remember what I was doing in future reviews, but you can avoid it if you want (and gain a little speed).