Flowdock
method

regexp

Importance_0
v1_9_3_392 - Show latest stable - 0 notes - Class: OptionParser::Completion
regexp(key, icase) public

No documentation

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

Hide source
# File lib/optparse.rb, line 227
    def self.regexp(key, icase)
      Regexp.new('\A' + Regexp.quote(key).gsub(/\w+\b/, '\&\w*'), icase)
    end
Register or log in to add new notes.