Issue #11197 has been updated by Hans Mackowiak.


what do you expect ?

"" for sample is "GREEK CAPITAL LETTER GAMMA" 
means letter with is an alpha

so all of them are letters

----------------------------------------
Bug #11197: POSIX matchers broken in Regexp
https://bugs.ruby-lang.org/issues/11197#change-52688

* Author: Anonymous
* Status: Open
* Priority: Low
* Assignee: 
* ruby -v: 2.1.5
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
The POSIX matchers [[:alnum:]] and [[:alpha:]] in the Regexp class seem to be broken, as they successfully match all characters in the (example) string "".



-- 
https://bugs.ruby-lang.org/