Allow alphanumeric chars in object code

This commit is contained in:
2023-09-13 15:35:06 +02:00
parent 4465089802
commit bc80f462b0
2 changed files with 3 additions and 3 deletions

View File

@@ -4,7 +4,7 @@
* @returns {object}
*/
function validate(link, idInstr) {
const pattern = /[A-Z]{3}_[0-9]{2}/;
const pattern = /[A-Z0-9]{3}_[0-9]{2}/;
return {
linkError : link !== '',