Project

General

Profile

Bug #20615

Updated by taichi730 (Taichi Ishitani) 5 months ago

A regex pattern including an unicode property is not matched correctly. 

 ``` ruby 
 /\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. 

Back