From: Josef 'Jupp' SCHUGT Date: 2004-02-25T06:21:16+09:00 Subject: Re: Ruby syntax highlighting for Ruby Hi! * denis: > "Josef 'Jupp' SCHUGT" wrote in message news:<20040222183456.GB2853@jupp%gmx.de>... > > [Errors while nano parses syntax highlighting for Ruby] > > There were some missing escape backslashes, here are the regexps that work for > me (nano 1.2.3) > color brightyellow "<=>|\|\||!=|=~|!~|&&|\+=|-=|=|\.\.|\.\.\." The difference is that '+=' has been changed to '\+='. Very strange. My nano should have complained about that - but it didn't :-< > # Expression substitution > color red "#\{[^}]*\}|#(@|@@|\$)\w+" Here '#{[^}]*}' has been replaced by '#\{[^}]*\}': Again no error message here 8-| Josef 'Jupp' Schugt -- E-Mail: .--- ..- .--. .--. .--.-. --. -- -..- .-.-.- -.. . http://oss.erdfunkstelle.de/ruby/ - German comp.lang.ruby FAQ http://rubyforge.org/users/jupp/ - Ruby projects at Rubyforge