Skip to content

Commit

Permalink
fix: use insenstive regex
Browse files Browse the repository at this point in the history
  • Loading branch information
koblas committed Aug 30, 2023
1 parent 7929d80 commit 19fba44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iban.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { countryByCode, CountryCode } from "./country";
import { IBANBuilder } from "./ibanBuilder";

// Some useful RegEx-s
const NON_ALPHANUM = /[^a-zA-Z0-9]/g;
const NON_ALPHANUM = /[^a-z0-9]/ig;

const samples: Record<string, string> = {
AD: "AD1200012030200359100100",
Expand Down

0 comments on commit 19fba44

Please sign in to comment.