method

make_regexp

Importance_0
v1_9_2_180 - Show latest stable - 0 notes - Class: Parser
make_regexp(schemes = nil) public

No documentation

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

Hide source
# File lib/uri/common.rb, line 206
    def make_regexp(schemes = nil)
      unless schemes
        @regexp[:ABS_URI_REF]
      else
        /(?=#{Regexp.union(*schemes)}:)#{@pattern[:X_ABS_URI]}/
      end
    end
Register or log in to add new notes.