Daniel DeLorme wrote:
> Because a regular expression can have different behaviors depending on 
> its kcode (e.g. behavior of \w) I decided that all my code should 
> specify the kcode explicitly (e.g. /\w+/n instead /\w+/).

As an addendum, I was wondering why \w matches extended characters in utf8.
If extended characters are considered "word" characters, does it mean they
are valid for identifiers? So I tried:

 > $KCODE='u'
=> "u"
 > def 日本語
 >   "nihongo"
 > end
=> nil
 > 日本語
=> "nihongo"

wow. O_O

Daniel