Sha256: 38cbf5220dc492c8eafbc5cb559ae6c4db3481815e8b2aeed19429cc747ded83

Contents?: true

Size: 303 Bytes

Versions: 1

Compression:

Stored size: 303 Bytes

Contents

class Regexp
  module Examples
    def examples(options={})
      full_examples = RegexpExamples.map_results(
        RegexpExamples::Parser.new(source, options).parse
      )
      RegexpExamples::BackReferenceReplacer.new.substitute_backreferences(full_examples)
    end
  end
  include Examples
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
regexp-examples-0.4.0 lib/regexp-examples/regexp_extensions.rb