Julien Dallot <[email protected]> writes:
>> I am not sure if it is simple.
>> Consider the classic Elisp regexp plague inside "...".
>> We need monstrosities like "\\\\(...\\\\)". Now, imagine we put a regexp
>> inside a link:
>>
>> [[::(:regexp "\\\\\\\\(...\\\\\\\\)")]] ?
>
> Isnt there the same problem for current regexp search embedded in links? I do
> not see a problem that could arise from putting whatever regexp we used to
> have in this new format.
No, because we do not need extra escaping related to "...".
> However, that new format enables new possibilities. For instance, we could
> allow for rx expressions:
> [[::(:regexp (rx "(" "hello" ")"))]]
The main question is how to deal with "...". And what about something
like (list 'foo) vs (foo). Or ?a vs 97. Do we want Elisp syntax or something
simpler?
--
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>