@stamhoofd/structures
Advanced tools
Comparing version 1.2.9 to 1.2.10
@@ -62,3 +62,3 @@ "use strict"; | ||
// Get position of last letter | ||
const match = /^\s*(.+)\s*([0-9].*?)\s*$/.exec(addressLine1); | ||
const match = /^\s*([^0-9]+)\s*([0-9].*?)\s*$/.exec(addressLine1); | ||
if (!match) { | ||
@@ -65,0 +65,0 @@ throw new simple_errors_1.SimpleError({ |
@@ -59,3 +59,3 @@ import { __decorate } from "tslib"; | ||
// Get position of last letter | ||
const match = /^\s*(.+)\s*([0-9].*?)\s*$/.exec(addressLine1); | ||
const match = /^\s*([^0-9]+)\s*([0-9].*?)\s*$/.exec(addressLine1); | ||
if (!match) { | ||
@@ -62,0 +62,0 @@ throw new SimpleError({ |
{ | ||
"name": "@stamhoofd/structures", | ||
"version": "1.2.9", | ||
"version": "1.2.10", | ||
"main": "./dist/index.js", | ||
@@ -5,0 +5,0 @@ "module": "./esm/dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
253790