RubyScript: fix regexp for Win specific