Module: PragmaticSegmenter::Rules::SubEscapedRegexReservedCharacters

Defined in:
lib/pragmatic_segmenter/rules.rb

Constant Summary collapse

SubLeftParen =
Rule.new('\\(', '(')
SubRightParen =
Rule.new('\\)', ')')
SubLeftBracket =
Rule.new('\\[', '[')
SubRightBracket =
Rule.new('\\]', ']')
SubDash =
Rule.new('\\-', '-')
All =
[ SubLeftParen, SubRightParen,
SubLeftBracket, SubRightBracket, SubDash ]