From c7b11c3a5a263a395fdc00fbe094d39294c14cd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A1bio=20Pereira?= Date: Wed, 16 Aug 2023 11:43:19 -0300 Subject: [PATCH] feat: add new pattern (DARF) --- src/patterns/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/patterns/index.ts b/src/patterns/index.ts index a183ca4..a838135 100644 --- a/src/patterns/index.ts +++ b/src/patterns/index.ts @@ -7,6 +7,7 @@ const Brazil = { /(\d{5})\.(\d{5})\s(\d{5})\.(\d{6})\s(\d{5})\.(\d{6})\s(\d)\s(\d{14})/, // Banking - Typeable line /(\d{12})\s(\d{12})\s(\d{12})\s(\d{12})/, // Tax revenues - Bar code /(\d{11})-(\d)\s(\d{11})-(\d)\s(\d{11})-(\d)\s(\d{11})-(\d)/, // Tax revenues - Typeable line + /(\d{11})\s(\d{1})\s(\d{11})\s(\d{1})\s(\d{11})\s(\d{1})\s(\d{11})\s(\d{1})/, // Darf ], };