Add support to do transformation on multiple lines

This commit is contained in:
dNItro 2016-01-20 13:51:50 -08:00
parent 3f2c591c3b
commit b057f633ef

View File

@ -124,6 +124,8 @@ class TextObjectTransformation(object):
self._match_this_many = 0
if 'i' in token.options:
flags |= re.IGNORECASE
if 'm' in token.options:
flags |= re.MULTILINE
if 'a' in token.options:
self._convert_to_ascii = True