[Constraints] Added missing formats

| Q               | A
| --------------- | ---
| Doc fix?        | yes
| New docs?       | no
| Applies to      | all
| Related tickets | #2042

After this PR, all formats are documented for the constraints in the reference section. This PR adds the XML format for the Regex constraint and cherry picks the XML and PHP config formats for the Min constraint from #2076