in reply to A module for creating "sane" URLs from "arbitrary" titles?
Suggestion: replace the above with:s/_-_/-/g; s/^_+//g; s/_+$//g;
s/_(?:-_)+/_/g; s/^[-_]+//; s/[-_]+$//;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: A module for creating "sane" URLs from "arbitrary" titles?
by Corion (Patriarch) on Apr 20, 2012 at 17:58 UTC | |
by JavaFan (Canon) on Apr 20, 2012 at 18:56 UTC |
In Section
Seekers of Perl Wisdom