try to improve exception handling by avoiding raising ApiError from services

This commit is contained in:
burnettk 2023-02-02 19:00:58 -05:00
parent 06835267a4
commit 3f02fa8054
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ export default function ProcessGroupForm({
};
const hasValidIdentifier = (identifierToCheck: string) => {
return identifierToCheck.match(/^[a-z0-9][0-9a-z-]+[a-z0-9]$/);
return identifierToCheck.match(/^[a-z0-9][0-9a-z-]*[a-z0-9]$/);
};
const handleFormSubmission = (event: any) => {