← Back to team overview

desktop-packages team mailing list archive

[Bug 718424] Re: Perl syntax coloring breaks with basic macther regular expression

 

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

** Changed in: gtksourceview2 (Ubuntu)
       Status: Incomplete => Expired

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

Title:
  Perl syntax coloring breaks with basic macther regular expression

Status in “gtksourceview2” package in Ubuntu:
  Expired

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gtksourceview2/+bug/718424/+subscriptions