Hello, Daniel Clemente writes: > I propose: radio links should be delimited by characters that don't match [:alpha:] in emacs' regular expression syntax. > Letters (like: aá書ĉ) match, and delimiters (like: -'"/) don't. > > Test it with: > : (string-match-p "[[:alpha:]]" "á") > : (string-match-p "[[:alpha:]]" "書") > : (string-match-p "[[:alpha:]]" "ĉ") > > : (string-match-p "[[:alpha:]]" "'") > : (string-match-p "[[:alpha:]]" "-") > > And the opposite: check for non-letterness: > : (string-match-p "[^[:alpha:]]" "-") > : (string-match-p "[^[:alpha:]]" "á") > > > So a radio link with LINK_TEXT should not only be a match of the > regexp "LINK_TEXT" but of "[^[:alpha:]]LINK_TEXT[^[:alpha:]]" (well, > make it something like "(^|non-letter)LINK_TEXT($|non-text)". > > I think that's better than the current solution and stills allows > for radio links which contain non-letters, like <<>>. What > do you think? It could work. But I think [:alnum:] is needed instead of [:alpha:]. Here's a patch implementing it. Regards, -- Nicolas Goaziou