Module: PragmaticSegmenter::PunctuationReplacer::Rules::SubEscapedRegexReservedCharacters

Defined in:
lib/pragmatic_segmenter/punctuation_replacer.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 ]