Test, validate and match regular expressions
This regex matches Git merge conflict markers and captures the conflicting content on both sides. It identifies the `<<<<<<< HEAD` marker, captures the current branch changes (group 1), the `=======` separator, captures the incoming branch changes (group 2), and finally matches the `>>>>>>> <commit-hash>` marker. This pattern is useful for parsing and programmatically resolving merge conflicts in Git repositories.