** Changed in: gtksourceview
Status: New => 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/249910
Title:
Perl: escaped characters not recognized after non-plain variables in
double-quoted strings and regexes
Status in GtkSourceView Widget:
Expired
Status in “gtksourceview2” package in Ubuntu:
Triaged
Bug description:
Problem Description:
Using Perl syntax highlighting, escaped characters like \" and \n are not
recognized after using a non-special variable in a double-quoted string. An
example: $foo = "\"$1\""; this would put the first capture in a regex between
double-quotes. In this example, the first \" is recognized as escaped, but the
second is not, thus the double-quote mark after the backslash is treated as the
end of the string, and gtksourceview renders the rest of the document as an
unterminated string, which is incorrect. The same issue occurs in regular
expressions where variables are interpolated.
Possible Reason:
It perhaps arises from the difference between a plain-variable and a
special-variable in the perl.lang specification file, probably in the
"in-pattern" context near line 177 of
/usr/share/gtksourceview-2.0/language-specs/perl.lang
Versions:
Ubuntu 8.04.1
gtksourceview 2.2.1-1
gedit 2.22.3-0ubuntu1
To manage notifications about this bug go to:
https://bugs.launchpad.net/gtksourceview/+bug/249910/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp