SublimeText / VintageEx

An implementation of Vim's command-line mode for Sublime Text 2
MIT License
381 stars 50 forks source link

Regex escape characters missing in substitute #46

Open lukerajah opened 11 years ago

lukerajah commented 11 years ago

Regexes in substitute don't seem to act in the same way as either search and replace in sublime text or substitute in vim itself. Specifically:

.s/(.*)/\u\1/

ought to capitalise the first character of the line. Other missing commands are \U, \l, \L and so on.

http://boost.sourceforge.net/libs/regex/doc/format_perl_syntax.html

This is the link for the escape characters etc. in the sublime text 2 regex engine, many of which seem not to be present in vintageex substitute.