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 Issue #1283 Resolve highlighting error by surrounding expression in \(\) #1301

Merged
merged 1 commit into from
May 27, 2017

Conversation

zkry
Copy link
Contributor

@zkry zkry commented May 25, 2017

/<interface|struct>/ would highlight interface or struct when interface was at the beginning of the word or struct at the end. By putting this in parenthesis, the word boundary checks correctly.

…nside \( \) to correctly identify word boundries
@fatih fatih merged commit 66e3d34 into fatih:master May 27, 2017
@fatih
Copy link
Owner

fatih commented May 27, 2017

Looks good, thanks @zkry 👍

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.

2 participants