本页说明 Regex modifiers 的使用方式、参数含义和常见写法。
Regex modifiers
reg = regex('^[a-z]+$', 'i') println(reg.test('BT'))
pattern
flags
i