Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
regexp: Regex returns true for strings that it should not match #23808
Please answer these questions before submitting your issue. Thanks!
What did you do?
Tried to construct a regex pattern that matches whitespaces between words, so as to validate names. The pattern should match only letters and whitespaces but seems to return true for other characters as well.
What did you expect to see?
The program to return false
What did you see instead?
The program returned true
Does this issue reproduce with the latest release (go1.9.4)?