Add support to do transformation on multiple lines
This commit is contained in:
parent
3f2c591c3b
commit
b057f633ef
@ -124,6 +124,8 @@ class TextObjectTransformation(object):
|
|||||||
self._match_this_many = 0
|
self._match_this_many = 0
|
||||||
if 'i' in token.options:
|
if 'i' in token.options:
|
||||||
flags |= re.IGNORECASE
|
flags |= re.IGNORECASE
|
||||||
|
if 'm' in token.options:
|
||||||
|
flags |= re.MULTILINE
|
||||||
if 'a' in token.options:
|
if 'a' in token.options:
|
||||||
self._convert_to_ascii = True
|
self._convert_to_ascii = True
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user