Module: YARP::RegularExpressionFlags

Defined in:
lib/yarp/node.rb

Constant Summary collapse

IGNORE_CASE =

i - ignores the case of characters when matching

1 << 0
MULTI_LINE =

m - allows $ to match the end of lines within strings

1 << 1
EXTENDED =

x - ignores whitespace and allows comments in regular expressions

1 << 2
EUC_JP =

e - forces the EUC-JP encoding

1 << 3
ASCII_8BIT =

n - forces the ASCII-8BIT encoding

1 << 4
WINDOWS_31J =

s - forces the Windows-31J encoding

1 << 5
UTF_8 =

u - forces the UTF-8 encoding

1 << 6
ONCE =

o - only interpolates values into the regular expression once

1 << 7