Use of "m" flag in regexp