Colorer (tested on take5 beta4) incorectly highlights everything and loses track of brackets after "or" operation in this example:
if(/|aaa|/ or /|bbb|/){ push @data, $_; }
Logged In: YES user_id=313042
fixed.
RCS file: /cvsroot/colorer/colorer/src/hrc/perl/src/perl.hrc,v retrieving revision 1.7 retrieving revision 1.8 diff -w -b -r1.7 -r1.8 372c372 < (\bif) | (\bunless) | (\bsplit) | grep |^ ) --- > (\bif) | (\bunless) | (\bsplit) | (\bor) | grep |^ ) 374c374 < ((\/)) --- > ((?{def:PairStart}\/)) 376,378c376,378 < end="/(\y6([cmiogxes]*) )/x" scheme="RegExpString" < region="String" region01="Symb" < region06="StringEdge" region07="def:PairStart" --- > end="/(\y7([cmiogxes]*) )/x" > scheme="RegExpString" > region="String" region01="Symb" region07="StringEdge"
Log in to post a comment.
Logged In: YES
user_id=313042
fixed.
RCS file: /cvsroot/colorer/colorer/src/hrc/perl/src/perl.hrc,v
retrieving revision 1.7
retrieving revision 1.8
diff -w -b -r1.7 -r1.8
372c372
< (\bif) | (\bunless) | (\bsplit) | grep |^ )
---
> (\bif) | (\bunless) | (\bsplit) | (\bor)
| grep |^ )
374c374
< ((\/))
---
> ((?{def:PairStart}\/))
376,378c376,378
< end="/(\y6([cmiogxes]*) )/x" scheme="RegExpString"
< region="String" region01="Symb"
< region06="StringEdge" region07="def:PairStart"
---
> end="/(\y7([cmiogxes]*) )/x"
> scheme="RegExpString"
> region="String" region01="Symb"
region07="StringEdge"