nano-highlight icon indicating copy to clipboard operation
nano-highlight copied to clipboard

Perl regex syntax error

Open mcandre opened this issue 9 years ago • 2 comments

When I try to use the Perl parser in nano-highlight, Nano complains that the regular expression syntax contains an error.

mcandre avatar Oct 18 '16 22:10 mcandre

Hmm... Can you send me the exact error message? And is it just including the Perl highlighting that does it or when loading an actual Perl file?

serialhex avatar Oct 19 '16 16:10 serialhex

If you need to use lookahead or lookbehind behavior inside RegEx it might call exception, when nano runs. In that situation you'd better to use RegEx like this:

color white,blue start="\$\{" end="\}"

Piterden avatar Feb 10 '17 22:02 Piterden