summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src
diff options
context:
space:
mode:
authorAndreas Abraham <andreas.abraham@egiz.gv.at>2021-06-18 08:45:33 +0000
committerAndreas Abraham <andreas.abraham@egiz.gv.at>2021-06-18 08:45:33 +0000
commitd448f2334ebb9e83e52a009b563dbc3e0ab23ad4 (patch)
treeaed6e10b7843e47b77e045307d3bc55485b165bc /pdf-over-gui/src
parent536933e32796b0595b7cc5820d5d8a5d5d755b0a (diff)
parent66bbd959a369ea4ecec207f246b6025681298364 (diff)
downloadpdf-over-d448f2334ebb9e83e52a009b563dbc3e0ab23ad4.tar.gz
pdf-over-d448f2334ebb9e83e52a009b563dbc3e0ab23ad4.tar.bz2
pdf-over-d448f2334ebb9e83e52a009b563dbc3e0ab23ad4.zip
Merge branch 'issue/33' into 'master'
Issue/33 See merge request egiz/pdf-over!6
Diffstat (limited to 'pdf-over-gui/src')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/MobileBKUHelper.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/MobileBKUHelper.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/MobileBKUHelper.java
index 9971e3c2..c173337f 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/MobileBKUHelper.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/MobileBKUHelper.java
@@ -209,6 +209,7 @@ public class MobileBKUHelper {
throws InvalidNumberException {
// Verify number and normalize
+ number = number.replaceAll("\\s","");
// Compile and use regular expression
Pattern pattern = Pattern.compile(NUMBER_REGEX);
Matcher matcher = pattern.matcher(number);