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 15773 - D's treatment of whitespace in character classes in free-from regexes is not the same as Perl's #4058

Closed
wants to merge 1 commit into from

Conversation

markuslaker
Copy link

https://issues.dlang.org/show_bug.cgi?id=15773

Documents the fact that free-form mode ignores whitespace inside character classes; this behaviour differs from Perl's, and will trip up people coming to D from Perl.

@CyberShadow CyberShadow changed the title Patch for https://issues.dlang.org/show_bug.cgi?id=15773 Fix Issue 15773 - D's treatment of whitespace in character classes in free-from regexes is not the same as Perl's Mar 6, 2016
@DmitryOlshansky
Copy link
Member

@markuslaker Thanks for catching this. I believe we should switch to Perl's behaviour and what you've found is just a nasty bug that needs to be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants