match GNU-sed I and M regexp modifier extensions