Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Syntax highlighting fails after split /\|/ #81

Open
wangliang1989 opened this issue Oct 21, 2016 · 2 comments
Open

Syntax highlighting fails after split /\|/ #81

wangliang1989 opened this issue Oct 21, 2016 · 2 comments

Comments

@wangliang1989
Copy link

wangliang1989 commented Oct 21, 2016

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
Copy link
Contributor

Fank commented Oct 21, 2016

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
Copy link
Author

successed, Thanks(English is not my first language)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants