Module: RegexpParse::Constants

Includes:
Regexp::Constants
Included in:
RegexpParse
Defined in:
app/models/regexp_parse.rb,
app/models/regexp_parse.rb

Overview

node=RegexpParse.promote(node) if node.instance_of?(Array) then node.map{|e| typed?(e)} end #if type=RegexpParse.case?(node) if type==:String then RegexpToken.new(node) else eval(type.to_s).new(node.parse_tree) end #if end #typed

Constant Summary collapse

OpeningBrackets =
'({['
ClosingBrackets =
')}]'
PostfixOperators =
'+*?|'
Any_binary_string =
"#{Any_binary_char_string}*"
Any_binary_char =
RegexpParse.new(Any_binary_char_string)
Any_binary_char_parse =
RegexpParse.new(Any_binary_char_string)
Any_binary_string_parse =
RegexpParse.new(Any_binary_string)
Dot_star_array =
['.', '*']
Dot_star_string =
Dot_star_array.join
Dot_star_parse =
RegexpParse.new(Dot_star_string)
Empty_language_array =

beginning to end of string with nothing in between

['\A', '\z']
Empty_language_string =
Empty_language_array.join
Empty_language_parse =
RegexpParse.new(Empty_language_string)

Constants included from Regexp::Constants

Regexp::Constants::Any, Regexp::Constants::Any_binary_char_string, Regexp::Constants::Default_options, Regexp::Constants::End_string, Regexp::Constants::End_string_less_newline, Regexp::Constants::Many, Regexp::Constants::Optional, Regexp::Constants::Start_string