After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 313000 - error in syntax highlight for perl syntax
error in syntax highlight for perl syntax
Status: RESOLVED FIXED
Product: bluefish
Classification: Other
Component: application
1.0 (stable series)
Other All
: Normal normal
: ---
Assigned To: Bluefish Maintainer(s)
Bluefish Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2005-08-09 12:53 UTC by Ramil R. Gazizov
Modified: 2005-09-18 16:41 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ramil R. Gazizov 2005-08-09 12:53:22 UTC
Please describe the problem:
some troubles in colors after blocks like this:
.....
$res=~s/\'[a-z0-9][a-z0-9]/~/g;

		$npres=$res; 
.....



Steps to reproduce:
by typing example source.

Actual results:
colors of code after this block come to green(color for vars)

Expected results:
notmal syntax colors

Does this happen every time?
yes

Other information:
it looks like root of problem is in single quote  in regular(like: /'asdasd/).
Comment 1 Olivier Sessink 2005-08-09 12:59:39 UTC
did you come up with some new patterns already? Help can be found here:
http://bluefish.openoffice.nl/manual/ch03s06.html#changing-highlighting-patterns

if you have some better patterns, please  attach them to this bug then we can
add them to the default patterns.
Comment 2 Daniel Leidert 2005-08-12 14:27:54 UTC
Hmm. I cannot reproduce a buggy highlighting with the example code. It looks ok.
Please update the highlighting patterns (maybe download them from CVS and
replace the installed highlighting(.default)) and test again (backup your
.bluefish/highlighting* then go to Preferences > Highlighting syntax and pull
the reset button). Does the highlighting work now?
Comment 3 Daniel Leidert 2005-08-25 00:47:23 UTC
Is anyone able to reproduce this issue with the latest highlighting pattern (I
cannot reproduce it)? If not, we can close this bug.
Comment 4 Jim Hayward 2005-09-09 04:40:28 UTC
I can reproduce what appears to be this bug even with the updated highlighting
pattern from bug# 315324. See if you have a file named dumpvar.pl on your
system. It comes with Perl 5.8.6 on my system. Look starting at line 73.
Comment 5 Jim Hayward 2005-09-18 16:41:43 UTC
Closing this bug. This appears to have been fixed with the latest updates to the
Perl highlighting patterns in CVS.