We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1d66e9 commit 35398f2Copy full SHA for 35398f2
1 file changed
src/locales/en_GB/location/postcode_pattern.ts
@@ -1,4 +1,4 @@
1
export default [
2
- '{{string.alpha({ "casing": "upper" , "length": 2})}}{{string.numeric}} {{string.numeric}}{{string.alpha({ "casing": "upper" , "length": 2})}}',
3
- '{{string.alpha({ "casing": "upper" , "length": 2})}}{{string.numeric(2)}} {{string.numeric}}{{string.alpha({ "casing": "upper" , "length": 2})}}',
+ '{{helpers.fromRegExp("[A-Z]{1,2}[0-9]{1,2} [0-9][ABDEFGHJLNPQRSTUWXYZ]{2}")}}',
+ '{{helpers.fromRegExp("[A-Z]{1,2}[0-9][A-Z] [0-9][ABDEFGHJLNPQRSTUWXYZ]{2}")}}',
4
];
0 commit comments