Skip to content

Fix method name characters #582

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
Jan 7, 2018

Conversation

aycabta
Copy link
Member

@aycabta aycabta commented Jan 4, 2018

RDoc::Text#strip_stars removes unnecessary Document-method directive. But the regexp uses only [\w:.#=!?], so it fails with some operator methods. This commit adds other operator characters to the regexp.

This closes #452.

RDoc::Text#strip_stars removes unnecessary Document-method directive.
But the regexp uses only [\w:.#=!?], so it fails with some operator
methods. This commit adds other operator characters to the regexp.

This closes ruby#452.
@aycabta aycabta merged commit 071e2ec into ruby:master Jan 7, 2018
@aycabta aycabta deleted the fix-method-name-characters branch January 7, 2018 06:24
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.

"Document-method: []" is not handled correctly
1 participant