I am working with the git filter branch for one specific task. It is using the sed command. When I use simple regex everything is working but for something more complex it is not. Maybe I have mistake in the regex or in the escaping chars. Please help.
git filter-branch -f --msg-filter 'sed -e "s/\[PEM-2233\] Merge branch 'master' of https:\/\/bitbucket\.test\.domain\.com\/rrr\/pem\/hello-world into feature\/PEM-2233-do-acceptance-tests/CHANGED/"' -- --all
The commit message I am trying to catch is
[PEM-2233] Merge branch 'master' of https://bitbucket.test.domain.com/rrr/pem/hello-world into feature/PEM-2233-do-acceptance-tests