regexp: add generic character types \h \v #22107
Labels
FrozenDueToAge
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
Milestone
go version
go version go1.9 windows/amd64
What did you do?
https://play.golang.org/p/36811_BjSY
What did you expect to see?
true
What did you see instead?
error parsing regexp: invalid escape sequence: '\h'
Proposal
It would be good if the generic character types
\h
and\v
could be added to the regexp package.This would better align with the PCRE specification.
http://www.pcre.org/original/doc/html/pcrepattern.html#genericchartypes
The text was updated successfully, but these errors were encountered: