This issue was solved with changeset r38567.
Tsuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
re.c (rb_reg_eqq): doc: #=== is not a synonym for #=~, added example [ruby-dev:46746] [Bug #7571]