emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [elpa] externals/org 6de5431acc: org: Refactor rx to concat + regexp


From: Ihor Radchenko
Subject: Re: [elpa] externals/org 6de5431acc: org: Refactor rx to concat + regexp-opt
Date: Wed, 27 Jul 2022 11:01:46 +0800

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>>               'org-safe-remote-resources
>> -             (list (rx string-start
>> -                       (literal
>> -                        (if (and (= char ?f) current-file)
>> -                            (concat "file://" current-file) uri))
>> -                       string-end))))
>> +             (list (concat "\\`"
>> +                           (regexp-opt
>> +                            (if (and (= char ?f) current-file)
>> +                                (concat "file://" current-file) uri))
>> +                           "\\'"))))
>
> Did you mean to use `regexp-quote` instead of `regexp-opt`, maybe?

Timothy has fixed the regexp in
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=6ad53fa22eab5830f85a401960dc1e7d00154a27

Note that this email address (tec@tecosaur.com) may be dysfunctional.
See https://list.orgmode.org/dd8a140cd218951f77c279a252b03f66@tecosaur.com/T/#u

Best,
Ihor



reply via email to

[Prev in Thread] Current Thread [Next in Thread]