Skip to content

Commit

Permalink
We're seeing Old Dominion numbers starting with 780, so start recogni…
Browse files Browse the repository at this point in the history
…zing them

This does introduce a conflict with DHL, however.
  • Loading branch information
cgunther committed Jul 11, 2024
1 parent 8944282 commit a3a13e4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions couriers/old_dominion.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"name": "Old Dominion",
"regex": [
"\\s*(?<SerialNumber>",
"(7\\s*7\\s*[78]\\s*|0\\s*7\\s*2\\s*)",
"(7\\s*7\\s*[78]\\s*|0\\s*7\\s*2\\s*|7\\s*8\\s*0\\s*)",
"([0-9]\\s*){7}",
")",
"(?<CheckDigit>[0-9]\\s*)"
Expand All @@ -22,7 +22,8 @@
"07209562763",
" 0 7 2 0 9 5 6 2 7 6 3 ",
"77767553207",
"77806528897"
"77806528897",
"78045768393"
],
"invalid": [
"07209562773",
Expand Down

0 comments on commit a3a13e4

Please sign in to comment.