guillermooo / Vintageous

Vi/Vim emulation for Sublime Text 3
http://guillermooo.bitbucket.org/Vintageous/
Other
1.64k stars 115 forks source link

Provide proper support for '^' and '$' anchors #1024

Closed deconvolved closed 8 years ago

deconvolved commented 8 years ago

When performing ex-based substitution, '^' and '$' should match the beginning of a line and the end of a line, respectively. However they currently match only the beginning and end of the specified range.

Apply the re.MULTILINE flag to the compiled regular expression in order to enable line-based matching with the '^' and '$' anchors.

guillermooo commented 8 years ago

LGTM! Thanks!