Problem with Find/Replace regex and beginning of line boundary matcher ^

I've been doing a lot of regular expression Find/Replace operations today. Included in these were "add text to end of line" and "insert text before beginning of line"

The first worked fine: searched on regex $ and replaced with the text
The second didn't work. Searched on regex ^ but got a "not found"

Is this a bug or working as designed? If "as designed" then can someone explain why one works and not the other?

Thanks for your help

Phil

Webstorm version 5.0.1
Build #WS-121.215

0

Please sign in to leave a comment.