Sha256: 764fafea3996bee6e922d4b75576fbdabd2e0d2fa757edce4133369b1a252b15
Contents?: true
Size: 462 Bytes
Versions: 10
Compression:
Stored size: 462 Bytes
Contents
module CoreExtensions module Regexp module Examples def examples(config_options={}) full_examples = RegexpExamples.map_results( RegexpExamples::Parser.new(source, options, config_options).parse ) RegexpExamples::BackReferenceReplacer.new.substitute_backreferences(full_examples) end end end end # Regexp#include is private for ruby 2.0 and below Regexp.send(:include, CoreExtensions::Regexp::Examples)
Version data entries
10 entries across 10 versions & 1 rubygems