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)?
The text was updated successfully, but these errors were encountered: