in reply to Re: A module for creating "sane" URLs from "arbitrary" titles?
in thread A module for creating "sane" URLs from "arbitrary" titles?
Thanks for the additions.
I'd like abc - def to become abc-def, which is why I'll be using the dash as a replacement instead of the underscore in s/_(?:-_)+/-/g; , but eliminating trailing dashes and repeated dashes is a good addition indeed. Even though it makes links to C++ and C equivalent :).
Update: I noticed that C++ and C were already converted to the same URL fragment, C anyway.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: A module for creating "sane" URLs from "arbitrary" titles?
by JavaFan (Canon) on Apr 20, 2012 at 18:56 UTC |