Skip to content

docs: Fix unescaped [ in character class #339

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

Merged
merged 1 commit into from
Feb 16, 2017
Merged

Conversation

robinst
Copy link
Contributor

@robinst robinst commented Feb 16, 2017

Compiling the regex as it was documented before results in:

Syntax("Error parsing regex near '-/:-@[-`{-' at character offset 7: Use of unescaped '[' in character class is not allowed.")

Compiling the regex as it was documented before results in:

> Syntax("Error parsing regex near \'-/:-@[-`{-\' at character offset 7: Use of unescaped \'[\' in character class is not allowed.")
@BurntSushi
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Feb 16, 2017

📌 Commit 81d06e1 has been approved by BurntSushi

@BurntSushi
Copy link
Member

Another nice catch, thanks!

@bors
Copy link
Contributor

bors commented Feb 16, 2017

⌛ Testing commit 81d06e1 with merge e2904f8...

bors added a commit that referenced this pull request Feb 16, 2017
docs: Fix unescaped `[` in character class

Compiling the regex as it was documented before results in:

> Syntax("Error parsing regex near \'-/:-@[-`{-\' at character offset 7: Use of unescaped \'[\' in character class is not allowed.")
@bors
Copy link
Contributor

bors commented Feb 16, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: BurntSushi
Pushing e2904f8 to master...

@bors bors merged commit 81d06e1 into rust-lang:master Feb 16, 2017
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.

3 participants