nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nano-devel] Syntax Highlighting


From: Mike Frysinger
Subject: Re: [Nano-devel] Syntax Highlighting
Date: Sat, 14 Nov 2015 00:58:43 -0500

> 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

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]