Improve `modified` regex