module Textoken::RegexpOption

This module will be shared in options like, only_regexp and exclude_regexp

Public Class Methods

new(value) click to toggle source
# File lib/textoken/options/modules/regexp_option.rb, line 6
def initialize(value)
  @regexps  = [Regexp.new(value)]
  @findings = Findings.new
end