Sublime Forum

Bug when using match in replace when regex has lookbehind

#1

I have a file with the string "asdf".

I am using the “Replace” command to replace the expression code(.+)[/code] with $&!. I would expect the string to be replaced with "asdf"! but instead it is staying the same.

If I simply specify code[/code] 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.

0 Likes