[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] link export confused when URL parameter is another URL
From: |
David Maus |
Subject: |
Re: [Orgmode] link export confused when URL parameter is another URL |
Date: |
Fri, 22 Oct 2010 06:28:23 +0200 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.2 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
At Thu, 21 Oct 2010 19:38:17 +0200,
Carsten Dominik wrote:
> This is a bit hard without lookbehind assertions as they are available
> in perl. For something like this it is somtimes easier to just to
> the normal match you wanted to use anyway and then confirm by
> taking a separate look at the text before the match
> which is, for example,
>
> (buffer-substring (point-at-bol) (match-beginning 0))
Thanks, that looks much better than using looking-back. I've pushed a
possible fix to master. Plain links that are behind the query part of
something that looks like a bracket link ("\\[\\[\\S-+:\\S-*?") are
now not normalized.
Best,
-- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... address@hidden
Email..... address@hidden
pgpZO9mEpnluN.pgp
Description: PGP signature