Skip to content

Updated description field regex to properly include hyphen as accepted character

Michael Sacco requested to merge saccomi-fix-description-regex into master

The description field regex for the CreateGroupDto model was erroneously rejecting the hyphen character as an acceptable character due to the way the @Pattern regex is parsed. This is fixed by changing the location of the hyphen in the acceptance string to the beginning of the pattern.

Edited by Michael Sacco

Merge request reports