I propose making a modest change to the wikiview settings in @data wikiview-link-patterns
Every pattern must start with *and *match a *unique* *lead-in character*. The lead-in character is the first character of the pattern, excluding a leading "\b", open parens and (maybe) other escapes. Unique lead-ins necessitates splitting some patterns. This is not a problem! Unique lead-ins greatly speed the colorizer. The extra patterns do not slow the colorizer at all. Here are suggested (and tested) patterns. *Patterns for UNLs* \b(file://.*-->)\S+\b \b(https?://.*-->)\S+\b For example: file://#some-->headlines-->mynode yields mynode. The lead-in characters for these patterns are f and h, respectively. *Patterns for reStructuredText* `\S+(\s*<https?://\S+>`_) `\S+(\s*<file://\S+>`_) For example, `Visible text <http://invisible.url/here>` yields Visible text. The lead-in character is ` in both patterns. *Patterns for regular URLs* \bhttps?:(//.*/)\w+\b \bfile:(//.*/)\w+\b For example, file://www.google.com/search yields file:search. The lead-in characters are h and f, respectively. *Summary* The proposed patterns have been tested here <http://pythex.org/>. Comments, improvements and corrections are welcome. Recent revs fix #388 <https://github.com/leo-editor/leo-editor/issues/388> in the color branch. *Note*: The latest pushed code does *not* work because it uses an intermediate format for @data nodes. This will be fixed later today. The new work is in the color branch. It will merge into the trunk in the next day or so. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.