Skip to content

Commit 0d0cf4e

Browse files
committed
Updated readme
1 parent 4676552 commit 0d0cf4e

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ postcode.normalise() // => "ID1 1QD"
2929

3030
## Note on Postcode Validation
3131

32-
Postcodes cannot be validated just using just a regular expression. Proper postcode validation requires having a full list of postcodes to check against.
33-
34-
Please do not solely rely on a regex to check postcodes or you're bound to get false postives/negatives.
32+
Postcodes cannot be validated just with a regular expression. Proper postcode validation requires having a full list of postcodes to check against. Relying on a regex will produce false postives/negatives.
3533

3634
## License
3735

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "postcode",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "UK Postcode helper methods",
55
"main": "index.js",
66
"directories": {

0 commit comments

Comments
 (0)