How to match unicode words with ruby 1.9?

前端 未结 3 2004
一生所求
一生所求 2021-02-03 11:25

I\'m using ruby 1.9 and trying to find out which regex I need to make this true:

Encoding.default_internal = Encoding.default_external = \'utf-8\'
\"föö\".match(         


        
3条回答
提交回复
热议问题