Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vmj-qt
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
vmj-qt
Commits
e17f4671
Commit
e17f4671
authored
Jul 21, 2010
by
Dan Pascu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed SIP address and E-mail address regular expressions
parent
f40f5257
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
accounts.py
blink/accounts.py
+2
-2
No files found.
blink/accounts.py
View file @
e17f4671
...
...
@@ -264,11 +264,11 @@ class AddAccountDialog(base_class, ui_class):
self
.
display_name_editor
.
regexp
=
re
.
compile
(
'^.*$'
)
self
.
name_editor
.
regexp
=
re
.
compile
(
'^.+$'
)
self
.
username_editor
.
regexp
=
re
.
compile
(
'^
\
w(?<=[^0_])[
\
w.-]{1,65}(?<=[^_.-])$'
,
re
.
IGNORECASE
)
# in order to enable unicode characters add re.UNICODE to flags
self
.
sip_address_editor
.
regexp
=
re
.
compile
(
'^[^@
]+@.
+$'
)
self
.
sip_address_editor
.
regexp
=
re
.
compile
(
'^[^@
\
s]+@[^@
\
s]
+$'
)
self
.
password_editor
.
regexp
=
re
.
compile
(
'^.*$'
)
self
.
new_password_editor
.
regexp
=
re
.
compile
(
'^.{8,}$'
)
self
.
verify_password_editor
.
regexp
=
re
.
compile
(
'^$'
)
self
.
email_address_editor
.
regexp
=
re
.
compile
(
'^[^@
]+@.
+$'
)
self
.
email_address_editor
.
regexp
=
re
.
compile
(
'^[^@
\
s]+@[^@
\
s]
+$'
)
def
_get_display_name
(
self
):
if
self
.
panel_view
.
currentWidget
()
is
self
.
add_account_panel
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment