Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perl regex syntax error #25

Open
mcandre opened this issue Oct 18, 2016 · 2 comments
Open

Perl regex syntax error #25

mcandre opened this issue Oct 18, 2016 · 2 comments

Comments

@mcandre
Copy link

mcandre commented Oct 18, 2016

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

@serialhex
Copy link
Owner

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?

@Piterden
Copy link
Contributor

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="\}"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants