Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
4ed071fb
Commit
4ed071fb
authored
Jan 15, 2008
by
Mike Hibler
Browse files
add zsh to usr_shell regex
parent
b40c7c41
Changes
1
Hide whitespace changes
Inline
Side-by-side
sql/database-fill.sql
View file @
4ed071fb
...
...
@@ -600,7 +600,7 @@ REPLACE INTO table_regex VALUES ('users','uid_idx','text','regex','^[\\d]+$',1,1
REPLACE
INTO
table_regex
VALUES
(
'users'
,
'usr_phone'
,
'text'
,
'regex'
,
'^[-
\\
d
\\
(
\\
)
\\
+
\\
.x ]+$'
,
7
,
64
,
NULL
);
REPLACE
INTO
table_regex
VALUES
(
'users'
,
'usr_name'
,
'text'
,
'regex'
,
'^[-
\\
w
\\
. ]+$'
,
4
,
64
,
NULL
);
REPLACE
INTO
table_regex
VALUES
(
'users'
,
'usr_email'
,
'text'
,
'regex'
,
'^([-
\\
w
\\
+
\\
.]+)
\\
@([-
\\
w
\\
.]+)$'
,
3
,
64
,
NULL
);
REPLACE
INTO
table_regex
VALUES
(
'users'
,
'usr_shell'
,
'text'
,
'regex'
,
'^(csh|sh|bash|tcsh)$'
,
0
,
0
,
NULL
);
REPLACE
INTO
table_regex
VALUES
(
'users'
,
'usr_shell'
,
'text'
,
'regex'
,
'^(csh|sh|bash|tcsh
|zsh
)$'
,
0
,
0
,
NULL
);
REPLACE
INTO
table_regex
VALUES
(
'users'
,
'usr_title'
,
'text'
,
'redirect'
,
'default:tinytext'
,
0
,
0
,
NULL
);
REPLACE
INTO
table_regex
VALUES
(
'users'
,
'usr_affil'
,
'text'
,
'redirect'
,
'default:tinytext'
,
0
,
0
,
NULL
);
REPLACE
INTO
table_regex
VALUES
(
'users'
,
'usr_addr'
,
'text'
,
'redirect'
,
'default:tinytext'
,
0
,
0
,
NULL
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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