add command %delquote
fix %searchquote on unicode strings
fix re flags usage for Python 2.6

fixes #1444