[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-file-apps regex matching against path not link
From: |
Nicolas Goaziou |
Subject: |
Re: [O] org-file-apps regex matching against path not link |
Date: |
Sat, 14 Apr 2018 09:42:59 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Hello,
"Frankie Y. Liu" <address@hidden> writes:
> For:
>
> \\.pdf:\\([0-9]+\\)\\'
You forgot a colon.
> [0-9]+ vs \d+ same issue, since the path not the link is being
> matched.
>
> Example:
> file:foo.pdf::1 will be matching on file:foo.pdf and the ::1 is
> dropped.
I cannot reproduce it here. The function
`org-file-apps-entry-match-against-dlink-p' is responsible for deciding
if a link needs to be matched in full, or not.
Regards,
--
Nicolas Goaziou 0x80A93738