diff --git a/lib/validate.js b/lib/validate.js index 81a06c5..872ca36 100644 --- a/lib/validate.js +++ b/lib/validate.js @@ -45,7 +45,7 @@ function businessPremisesId (value) { * */ function cashRegisterId (value) { - if (!/^[0-9a-zA-Z\.,:;/#\-_]{1,20}$/.test(value)) { + if (!/^[0-9a-zA-Z\.,:;/#\-_ ]{1,20}$/.test(value)) { throw new Error(`Value '${value}' doesn't match pattern for cash register ID.`) } }