just a comment
release buffer lock even if the regexp is incorrect