in reply to Re: Manipulating directory paths
in thread Manipulating directory paths

The $ anchor is superfluous because .* is greedy and will always match to the end of the line.

Replies are listed 'Best First'.
Re^3: Manipulating directory paths
by Zen (Deacon) on Sep 07, 2007 at 18:06 UTC
    True. I know others who do this exact same thing with the dollar sign, but I think it is good for clarity when reading at a glance.