support regex modifiers