Yue Yi <[email protected]> writes:

>> Here is the syntax rule we have now:
>>
>>         ;; Some languages, e.g., Chinese, do not use spaces to
>>         ;; separate words.  Also allow surrounding radio targets with
>>         ;; line-breakable characters.
>>         (before-re "\\(?:^\\|[^[:alnum:]]\\|\\c|\\)\\(")
>>         (after-re "\\)\\(?:$\\|[^[:alnum:]]\\|\\c|\\)")
>>
>> We use ?c category, only limiting to Chinese. We should probably use ?|
>> here as well, to cover Japanese and other languages without spaces.
>
> That's good, but if I am not mistaken, we are already using ?|, i.e., \c|.

Hmm. You are right. (too many escapes to handle in that regexp).
I now fixed the syntax spec to reflect the actual regexp for radio links.
https://git.sr.ht/~bzg/worg/commit/0627cf3f

-- 
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>

Reply via email to