Perl syntax coloring breaks with basic macther regular expression
Bug #718424 reported by
Isto Nikula
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gtksourceview2 (Ubuntu) |
Expired
|
Low
|
Unassigned |
Bug Description
Binary package hint: gedit
Code:
while (<>) {
if (/(\s+)text/) {
print "ok";
}
if (/(\w+)test/) {
print "ok";
}
if (m/test/) {
print "not ok, the pattern after m is not colored correctly";
}
if (m/(\w+)test/) {
print "not ok, the pattern after m is not colored correctly";
}
if (m/(\s+)text/) {
print "disaster, coloring is broken for from now on..."
}
}
Description: Ubuntu 10.10
Release: 10.10
gedit:
Installed: 2.30.3-1ubuntu1
Candidate: 2.30.3-1ubuntu1
Version table:
*** 2.30.3-1ubuntu1 0
500 http://
100 /var/lib/
To post a comment you must log in.
Thank you for your bug report. The issue is an upstream one and it would be nice if somebody having it could send the bug the to the people writting the software (https:/ /wiki.ubuntu. com/Bugs/ Upstream/ GNOME)