diff --git a/src/components/tool/guide/EresearchJob/EresearchInstructions.js b/src/components/tool/guide/EresearchJob/EresearchInstructions.js index e2d30860..c5791436 100644 --- a/src/components/tool/guide/EresearchJob/EresearchInstructions.js +++ b/src/components/tool/guide/EresearchJob/EresearchInstructions.js @@ -12,7 +12,7 @@ import { import { TeardownInstructions } from "../Instructions/TeardownInstructions"; const TEXT_PATTERN = /^[a-z0-9]*$/; -const JOB_NAME_PATTERN = /^(?=.*[A-Za-z0-9._+-])[A-Za-z0-9._+-]+$/; +const JOB_NAME_PATTERN = /^(?=.*[A-Za-z0-9._+\-])[A-Za-z0-9._+\-]+$/v; export function EresearchInstructions({ config }) { const [username, setUsername] = useLocalStorageState("qutUsername", "");