method

end_regexp

Importance_0
v1_8_6_287 - Show latest stable - 0 notes - Class: String
end_regexp() public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/jcode.rb, line 59
  def end_regexp
    case $KCODE[0]
    when ?s, ?S
      /#{PATTERN_SJIS}$/on
    when ?e, ?E
      /#{PATTERN_EUC}$/on
    when ?u, ?U
      /#{PATTERN_UTF8}$/on
    else
      /.$/on
    end
  end
Register or log in to add new notes.