atom / language-perl

Perl package for Atom
Other
25 stars 32 forks source link

Syntax highlighting fails after split /\|/ #81

Open wangliang1989 opened 7 years ago

wangliang1989 commented 7 years ago

Syntax highlighting fails after split /|/: if the split is 'split /\s/', the syntax is right. but, when I have used 'split /|/' in line 20 ,syntax fail.(English is not my first language) a

Fank commented 7 years ago

It's a known issue, and its not easy to fix this. As a workaround add an "m" before the regex, this should fix it.

wangliang1989 commented 7 years ago

successed, Thanks(English is not my first language)