Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save alexandreelise/3082f69735e27d519a3c434cfd60bd1b to your computer and use it in GitHub Desktop.
Save alexandreelise/3082f69735e27d519a3c434cfd60bd1b to your computer and use it in GitHub Desktop.
Find merge conflicts in git using PhpStorm Java based POSIX-form regex
(<<<<<<< ([A-Za-z\s]+)\n)([\p{Print}\p{Space}\p{ASCII}\p{L}]+)\n(=======)\n([\p{Print}\p{Space}\p{ASCII}\p{L}]+)(>>>>>>> ([A-Za-z\s]+))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment