Home Download Buy Blog Forum Support

Bug when using match in replace when regex has lookbehind

Bug when using match in replace when regex has lookbehind

Postby mikez302 on Mon Jul 22, 2013 11:32 pm

I have a file with the string
Code: Select all
"asdf"
.

I am using the "Replace" command to replace the expression
Code: Select all
(?<=")(.+)
with
Code: Select all
$&!
. I would expect the string to be replaced with
Code: Select all
"asdf"!
but instead it is staying the same.

If I simply specify
Code: Select all
(.+)
as the regex, it works as expected.

Is this a bug? I am using the Sublime Text 3 beta, Build 3047, on OS X 10.8.4.
mikez302
 
Posts: 1
Joined: Thu Aug 09, 2012 6:06 pm

Return to Technical Support

Who is online

Users browsing this forum: No registered users and 17 guests