Module: Regexp::Syntax::Token::Escape

Defined in:
lib/regexp_parser/syntax/token/escape.rb

Overview

TODO: unify naming with RE::EscapeSequence, one way or the other, in v3.0.0

Constant Summary collapse

Basic =
%i[backslash literal]
Control =
%i[control meta_sequence]
ASCII =
%i[bell backspace escape form_feed newline carriage
tab vertical_tab]
Unicode =
%i[codepoint codepoint_list]
Meta =
%i[dot alternation
zero_or_one zero_or_more one_or_more
bol eol
group_open group_close
interval_open interval_close
set_open set_close]
Hex =
%i[hex]
Octal =
%i[octal]
All =
Basic + Control + ASCII + Unicode + Meta + Hex + Octal
Type =
:escape