Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix 'multiple repeat' error from regex for c++ filetypes #63

Merged
merged 1 commit into from Aug 31, 2013

Conversation

juliantaylor
Copy link

unescaped ++ is invalid regex causing easytag to fall back to the
vimscript highlighting which does not split the regex into small chunks
that vim can handle.

unescaped ++ is invalid regex causing easytag to fall back to the
vimscript highlighting which does not split the regex into small chunks
that vim can handle.
xolox added a commit that referenced this pull request Aug 31, 2013
@xolox xolox merged commit e79da3e into xolox:master Aug 31, 2013
@xolox
Copy link
Owner

xolox commented Aug 31, 2013

Thanks for spotting the bug and contributing a fix! During the merge I changed the relevant line to use re.escape(). That way no matter what funky characters are embedded in file type names, it will work regardless. That's how I should have done it the first time around, but evidently it didn't occur to me back then :-). Happy Vimming!

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

Successfully merging this pull request may close these issues.

None yet

2 participants