Refactor handling of version ranges by ReleaseDetailsCustomField

Use a regex to parse the version string to improve readability, and bail early with no next/prev versions if the current field value doesn't conform.

Bug: T304540

Merge request reports

Loading