Fix the patch regexp, thanks to miska.