aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2021-06-09 12:53:55 +0200
committerMax Kostikov <max@kostikov.co>2021-06-09 12:53:55 +0200
commit2c198ed89ac1821b4483db7942b737b63858a574 (patch)
treeb0cfd7d5b9401bf8e3bae4306a059c2e02247c22 /view
parent17fdeb9e1fa24178f4450f4f71e83768e876628e (diff)
downloadvolse-hubzilla-2c198ed89ac1821b4483db7942b737b63858a574.tar.gz
volse-hubzilla-2c198ed89ac1821b4483db7942b737b63858a574.tar.bz2
volse-hubzilla-2c198ed89ac1821b4483db7942b737b63858a574.zip
Remove unnecessary parentheses
Diffstat (limited to 'view')
-rw-r--r--view/js/mod_register.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/js/mod_register.js b/view/js/mod_register.js
index 4f00ededb..f54dd2570 100644
--- a/view/js/mod_register.js
+++ b/view/js/mod_register.js
@@ -3,7 +3,7 @@ $(document).ready(function() {
typeof(window.tao) == 'undefined' ? window.tao = {} : '';
tao.zar = { vsn: '2.0.0', form: {}, msg: {} };
tao.zar.patano = /^d[0-9]{5,10}$/;
- tao.zar.patema = /^([^@\s]{1,64})@[a-z0-9.-]{2,32}\.[a-z]{2,12}$/;
+ tao.zar.patema = /^[^@\s]{1,64}@[a-z0-9.-]{2,32}\.[a-z]{2,12}$/;
$('.register_date').each( function () {
var date = new Date($(this).data('utc'));