GNOME Bugzilla – Bug 789919
rst.lang: Words with underscores are matched as links
Last modified: 2017-11-05 11:50:07 UTC
Currently words with underscores (e.g. "$module_name.plugin") are wrongly highlighted as links. Sending a patch.
Created attachment 362997 [details] [review] rst.lang: Don't match words with underscores as links Currently words with underscores are matched as links. This commit adds a condition to the regex that a word boundary has to follow the underscore.
Review of attachment 362997 [details] [review]: Looks good, thanks.
Commit: https://git.gnome.org/browse/gtksourceview/commit/?id=c25d8e6