Chip Salzenberg on 3 May 2004 15:24:24 -0000 |
According to Chip Salzenberg: > I'd probably do the rel2abs thing and then go all non-portable, since > ".." is kind of a Unixish thing anyway: > > > Oh hell, I was so busy with the syntax I screwed up the regex. Try this instead: s{ / [^/]+ / \.\. }{}xg -- Chip Salzenberg - a.k.a. - <chip@pobox.com> '"Bob" is two dimensional, and that is what gives Him such depth.' - **Majordomo list services provided by PANIX <URL:http://www.panix.com>** **To Unsubscribe, send "unsubscribe phl" to majordomo@lists.pm.org**
|
|