Public bug reported:

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

** Affects: gedit (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gedit in ubuntu.
https://bugs.launchpad.net/bugs/718424

Title:
  Perl syntax coloring breaks with basic macther regular expression

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to