Mustermann::StringScanner#initialize

Parsed documentation:
View on GitHub
@example with different default type
  require 'mustermann/string_scanner'
  scanner = Mustermann::StringScanner.new("foo/bar/baz", type: :shell)
  scanner.scan('*')     # => "foo"
  scanner.scan('**/*')  # => "/bar/baz"

@param [String] string the string to scan
@param [Hash] pattern_options default options used for {#scan}
Suggestions:
Please help! Open an issue on GitHub if this assessment is incorrect.