Perl syntax coloring breaks with basic macther regular expression

Bug #718424 reported by Isto Nikula
6
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://ubuntu.trumpetti.atm.tut.fi/ubuntu/ maverick/main amd64 Packages
        100 /var/lib/dpkg/status

Revision history for this message
Isto Nikula (isto.nikula) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

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)

affects: gedit (Ubuntu) → gtksourceview2 (Ubuntu)
Changed in gtksourceview2 (Ubuntu):
importance: Undecided → Low
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue that you reported is one that should be reproducible with the live environment of the Desktop CD of the development release - Oneiric Ocelot. It would help us greatly if you could test with it so we can work on getting it fixed in the next release of Ubuntu. You can find out more about the development release at http://www.ubuntu.com/testing/ . Thanks again and we appreciate your help.

Changed in gtksourceview2 (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gtksourceview2 (Ubuntu) because there has been no activity for 60 days.]

Changed in gtksourceview2 (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.