Multiline support for regexp editor