[prev in list] [next in list] [prev in thread] [next in thread]
List: nano-devel
Subject: Re: [Nano-devel] Syntax Highlighting
From: Mitchell Bumgarner <mitcbum () cdw ! com>
Date: 2015-11-16 19:47:01
Message-ID: 83954653-8B58-49C5-8872-FC79A8B837BC () cdw ! com
[Download RAW message or body]
[Attachment #2 (text/plain)]
I believe I have fixed all of the issues stated. I even removed sections that were \
unnecessary or were primarily just edge cases. I can include some example files if \
they would be helpful of the items I'm trying to match against.
Mitch Bumgarner
UC Consulting Engineer | CDW
Phone: 317.569.4239
Cell: 812.463.2391
On 11/13/15, 11:58 PM, "Mike Frysinger" <vapier@gentoo.org> wrote:
> > icolor magenta "^call :?[:alnum:].*$"
>
> you need another set of []:
> icolor magenta "^call :?[[:alnum:]].*$"
>
> > icolor brightblue "(^[[:space:]]*(\<rem\>|::).*$)"
>
> drop the outer set of paren as they're pointless
>
> > icolor yellow "\%[a-zA-Z_]+[:alnum:]*[0-9]?\%"
>
> a-z doesn't match all 26 chars, and same comment here as above wrt alnum
> -mike
["bat.nanorc" (application/octet-stream)]
["powershell.nanorc" (application/octet-stream)]
_______________________________________________
Nano-devel mailing list
Nano-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/nano-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic