Skip to content

Commit f706b71

Browse files
committed
Remove obsolete ?
1 parent 092a195 commit f706b71

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
"use strict";
22

3-
var validationRegex = /^[a-z]{1,2}\d[a-z\d]?\s*?\d[a-z]{2}$/i,
3+
var validationRegex = /^[a-z]{1,2}\d[a-z\d]?\s*\d[a-z]{2}$/i,
44
incodeRegex = /\d[a-z]{2}$/i,
55
validOutcodeRegex = /^[a-z]{1,2}\d[a-z\d]?$/i,
66
areaRegex = /^[a-z]{1,2}/i,
77
districtSplitRegex = /^([a-z]{1,2}\d)([a-z])$/i,
8-
sectorRegex = /^[a-z][a-z\d]{1,3}\s*?\d/i,
8+
sectorRegex = /^[a-z][a-z\d]{1,3}\s*\d/i,
99
unitRegex = /[a-z]{2}$/i;
1010

1111
function isValidPostcode (postcode) {

0 commit comments

Comments
 (0)