[pmwiki-users] \\L LinkPattern Replace in Markup Rules
Patrick R. Michaud
pmichaud at pobox.com
Wed Oct 19 07:43:10 CDT 2005
On Wed, Oct 19, 2005 at 10:03:08AM +0200, Sebastian Siedentopf wrote:
> >However, I suspect the problem has nothing to do with $LinkPatterns
> >or the \L, as these are used only for *external* links. WikiWord
> >and other page links are handled by other markup rules that don't
> >make use of \L.
>
> If I use:
> A simple test link: http://google.de
>
> I end up with all words as links:
> A? simple? test? link:? http://google.de?
>
> If I change:
> ## bare urllinks
> Markup('urllink','>[[',"/\\b(?>(\\L))...
>
> to:
> ## bare urllinks
> Markup('urllink','>[[',"/\\b(?>(html))...
>
> I end up with:
> A simple test link: http://google.de?
>
> Where http://google.de always points to the wiki page google/de.
> Something is wonky with the overall link handling here.
Is anything modifying the $LinkPattern array? You would get
this result if there's a "null" entry in the $LinkPattern
array somehow.
Pm
More information about the pmwiki-users
mailing list