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

Regexp#== contains incorrect examples #20

Closed
kyledecot opened this issue Oct 28, 2013 · 4 comments
Closed

Regexp#== contains incorrect examples #20

kyledecot opened this issue Oct 28, 2013 · 4 comments

Comments

@kyledecot
Copy link

In both 1.9.3 and 2.0 documentation, the Regexp#== documentation contains invalid examples

http://www.ruby-doc.org/core-1.9.3/Regexp.html#method-i-3D-3D
http://www.ruby-doc.org/core-2.0/Regexp.html#method-i-3D-3D

/abc/  == /abc/   #=> false
/abc/  == /abc/   #=> false
/abc/  == /abc/   #=> false
/abc/ == /abc/   #=> false

The examples appear to be correct on github however

https://github.com/documenting-ruby/ruby/blob/trunk/re.c#L2609

@zzak
Copy link

zzak commented Oct 28, 2013

@kyledecot Thanks for the report! Unfortunately this is a bug in the third-party ruby-doc.org website, which we have no control over so I must close this ticket.

@zzak zzak closed this as completed Oct 28, 2013
@Neurogami
Copy link

This looks to be a bug in rdoc. Running rdoc over the re.c file produces Darkfish output with the same missing character in the resulting HTML.

@zzak
Copy link

zzak commented Oct 28, 2013

@Neurogami you're right, i can reproduce this with rdoc in trunk.

I will file a ticket upstream for this.

@kyledecot
Copy link
Author

Thanks everyone!

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

No branches or pull requests

3 participants