This commit is contained in:
@@ -70,7 +70,7 @@ export default async function parseThisShit(downloadedFilePath) {
|
|||||||
let d = true;
|
let d = true;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const regex = /^úklid\s+\d+\s+[A-Za-z]{2}$/;
|
const regex = /^úklid\s+(?:\d+\s+)?[A-Za-z]{2}$/;
|
||||||
if (regex.test(currentSheet[key]["w"].trim()) || currentSheet[key]["w"].trim().length == 0) {
|
if (regex.test(currentSheet[key]["w"].trim()) || currentSheet[key]["w"].trim().length == 0) {
|
||||||
d = false;
|
d = false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user