std.regex: Fix math in replace example #543

Merged
merged 1 commit into from May 13, 2012

Conversation

Projects
None yet
4 participants
Owner

CyberShadow commented Apr 18, 2012

Not only was the sum of two numbers incorrect, but the replace operation seemingly added 100 to the result as well ;)

std.regex: Fix math in replace example
Not only was the sum of two numbers incorrect, but the replace
operation seemingly added 100 to the result as well ;)
Member

DmitryOlshansky commented Apr 18, 2012

And when I thought that I tested all examples... my bad. :)
At least the actual pattern matching was correct ;)
Thanks for catching this.

Member

klickverbot commented May 11, 2012

+1?

Member

DmitryOlshansky commented May 13, 2012

I wonder how much time something as simple can take to get pulled. Just LOL

braddr added a commit that referenced this pull request May 13, 2012

Merge pull request #543 from CyberShadow/patch-2
std.regex: Fix math in replace example

@braddr braddr merged commit 81301fb into dlang:master May 13, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment