Actions
Bug #20615
closed[Regexp] Incorrect match result for Regexp including unicode property
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
3.3.0 (2023-12-25 revision 5124f9ac75) [x86_64-linux]
Description
A regex pattern including an unicode property is not matched correctly.
/\A *\z/.match?('') # => true
/\Ap{White_Space}*\z/.match?('') # => false
I think both of these patterns should be matched but the later pattern including an unicode property is not.
Actions
Like0
Like0Like0Like0Like0