atom / language-perl

Perl package for Atom
Other
25 stars 32 forks source link

Disallow escape sequence in single quote 'p' #22

Closed Fank closed 9 years ago

Fank commented 9 years ago

asdasdsadsadsa123

As shown in the pic, escaping in ' isn't highlighted but in ". q is equal to ' so escaping shouldn't be highlighted. qq is equal to " and works.

my $foo = q(
\n
Hello \x50
And hello \x{2603}\x{2602}
);

my $bar = qq(
\n
Hello \x50
And hello \x{2603}\x{2602}
);

my $baz = '\r\n';
my $awesomeBaz = "\r\n";