Home Download Buy Blog Forum Support

Regex Search and Replace

Regex Search and Replace

Postby jcman01 on Thu Jul 11, 2013 6:39 pm

I am using a regex to insert a double-quote at the beginning of each line. My regex is simply ^. I am replacing it with ".

However, when I hit the replace all button, not only does it do it, it also inserts a blank line, except for a quote at the beginning.

For example




I am using ST 2 on Ubuntu. My setting for line ending is "default_line_ending": "system",

Any ideas on what I am doing wrong?
Posts: 2
Joined: Thu Jul 11, 2013 6:34 pm

Return to Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 11 guests