Skip to content

Commit

Permalink
feat: add new pattern (DARF)
Browse files Browse the repository at this point in the history
  • Loading branch information
1fabiopereira committed Aug 16, 2023
1 parent d8308c1 commit c7b11c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/patterns/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
],
};

Expand Down

0 comments on commit c7b11c3

Please sign in to comment.