"Josef 'Jupp' SCHUGT" <jupp / gmx.de> wrote in message news:<20040222183456.GB2853@jupp%gmx.de>...
> Hi!
> 
> * Chris Pine:
> [Errors while nano parses syntax highlighting for Ruby]
> 
> > My nano -V gives:
> > 
> >  GNU nano version 1.2.2 (compiled 11:27:12, Oct 11 2003)
> 
> Try nano 1.2.3 and report if the problem persists.
> 
> Josef 'Jupp' SCHUGT

There were some missing escape backslashes, here are the regexps that work for 
me (nano 1.2.3)

# Operators
color brightyellow "::|\*\*|!|~|\*|/|%|\+|-|&|<<|>>|\|\^|>|>=|<|<="
color brightyellow "<=>|\|\||!=|=~|!~|&&|\+=|-=|=|\.\.|\.\.\."
color brightyellow "\<not\>|\<and\>|\<or\>"

# Expression substitution
color red "#\{[^}]*\}|#(@|@@|\$)\w+"