Skip to content

Commit

Permalink
Update regex pattern for highway contract
Browse files Browse the repository at this point in the history
  • Loading branch information
kapitanluffy committed Apr 25, 2024
1 parent 2227476 commit 0964306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/address/normalize/src/lib/addressNormalize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const addressNormalize = (address: string): string => {
/\b(H|HIWAY|HIGHWAY)[-. ]?(C|CONTRACT)[-. ]?(R|ROUTE)?[-. ]?\b/g,
'HC '
)
.replace(/\b(S|STAR)[-. ]?(R|ROUTE)[-. ]?\b/g, 'HC ')
.replace(/\b(STAR[-. ]?ROUTE|S[-. ]?R)\b/g, 'HC ')

// general delivery
.replace(
Expand Down

0 comments on commit 0964306

Please sign in to comment.