Append modifier information into return value
Support not meta newline character which are in regex