Talk:TIP Nano Context Highlighting

From Gentoo Linux Wiki

Jump to: navigation, search

[edit] Perl template

I used

color brightyellow ""(\\.|[^\"])*"|qq\|.*\|"

for the highlighting of strings... this one also makes sure that the highlighting stops at the first matching '"'-symbol. And not the last in the sentence.

Personal tools