Sha256: a5c68cf61c2257136c4dd2d9eadf17c38b7a2595ab444cc3808c105373a02d1d

Contents?: true

Size: 283 Bytes

Versions: 1

Compression:

Stored size: 283 Bytes

Contents

class Regexp
  module Examples
    def examples
      full_examples = RegexpExamples::map_results(
        RegexpExamples::Parser.new(source).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.3.2 lib/regexp-examples/regexp_extensions.rb