Can't a self-match just be excluded from the list of matches? I don't
know elisp regexps but in perl, the regexp would be:
$match = $string =~/$description/ && $string !~ /\[\[$description\]\]/;
This would match on $description in plain text or in external links and
would exclude internal
That is on purpose, or a link would always find itself.
- Carsten
On Jan 15, 2007, at 18:28, Scott Otterson wrote:
In org-mode 4.61, internal links don't match on external link
description text. Here's an example org file
--
* head1
an internal link that should match