Allow alphanumeric chars in object code
This commit is contained in:
@@ -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 !== '',
|
||||
|
||||
Reference in New Issue
Block a user