It would be very beneficial to be able to give regular expression flags like MULTILINE as input to the 'matches' function.