You have been subscribed to a public bug:
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
** Affects: gtksourceview
Importance: Unknown
Status: New
** Affects: gtksourceview2 (Ubuntu)
Importance: Low
Assignee: Ubuntu Desktop Bugs (desktop-bugs)
Status: Triaged
--
Perl: escaped characters not recognized after non-plain variables in
double-quoted strings and regexes
https://bugs.edge.launchpad.net/bugs/249910
You received this bug notification because you are a member of Ubuntu Desktop
Bugs, which is a bug assignee.
--
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs