You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It works well in nano 2.7.4 on my mac, but it warning me "bad regex" when I upgrade to nano 2.8.0 by brew.
I tried to fix out that problem and found that I can replaces the characters '<' and '>' by \b in all the nanorc file, and the error message gone. But it may not be a good solution.
Two things about this (for those who arrive here via Google search):
This problem still exists in nano 3.1 on OpenBSD 6.4
The fix is not to replace merely the '<' and '>' characters with '\b', but rather to include the surrounding ':' characters of them as well. AKA, replace ':<:' and ':>:' with '\b'.
It works well in nano 2.7.4 on my mac, but it warning me "bad regex" when I upgrade to nano 2.8.0 by brew.
I tried to fix out that problem and found that I can replaces the characters '<' and '>' by \b in all the nanorc file, and the error message gone. But it may not be a good solution.
http://jimmybonney.com/articles/configure_nano_syntax_highlighting_synology/
Error message:
Error in /Users/vinson/.nano/rpmspec.nanorc on line 3: Bad regex "[:<:]:": Invalid character class name
Error in /Users/vinson/.nano/rpmspec.nanorc on line 4: Bad regex "[:<:]:": Invalid character class name
The text was updated successfully, but these errors were encountered: