module Prism::RegularExpressionFlags

Flags for regular expression and match last line nodes.

Constants

ASCII_8BIT

n - forces the ASCII-8BIT encoding

EUC_JP

e - forces the EUC-JP encoding

EXTENDED

x - ignores whitespace and allows comments in regular expressions

IGNORE_CASE

i - ignores the case of characters when matching

MULTI_LINE

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

ONCE

o - only interpolates values into the regular expression once

UTF_8

u - forces the UTF-8 encoding

WINDOWS_31J

s - forces the Windows-31J encoding