Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
d9951e25
Commit
d9951e25
authored
Mar 22, 2019
by
Evan Read
Committed by
Achilleas Pipinellis
Mar 22, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add end-of-string to regex example
parent
3ad7193c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
doc/user/permissions.md
doc/user/permissions.md
+2
-2
No files found.
doc/user/permissions.md
View file @
d9951e25
...
@@ -25,7 +25,7 @@ See our [product handbook on permissions](https://about.gitlab.com/handbook/prod
...
@@ -25,7 +25,7 @@ See our [product handbook on permissions](https://about.gitlab.com/handbook/prod
## Instance-wide user permissions
## Instance-wide user permissions
By default, users can create top-level groups and change their
By default, users can create top-level groups and change their
usernames. A GitLab administrator can configure the GitLab instance to
usernames. A GitLab administrator can configure the GitLab instance to
[
modify this behavior
](
../administration/user_settings.md
)
.
[
modify this behavior
](
../administration/user_settings.md
)
.
...
@@ -244,7 +244,7 @@ The regex pattern format is Ruby, but it needs to be convertible to JavaScript,
...
@@ -244,7 +244,7 @@ The regex pattern format is Ruby, but it needs to be convertible to JavaScript,
Here are some examples:
Here are some examples:
-
Use
`\.internal@domain\.com
`
to mark email addresses containing
".internal@domain.com" internal.
-
Use
`\.internal@domain\.com
$`
to mark email addresses ending with
".internal@domain.com" internal.
-
Use
`^(?:(?!\.ext@domain\.com).)*$\r?`
to mark users with email addresses NOT including .ext@domain.com internal.
-
Use
`^(?:(?!\.ext@domain\.com).)*$\r?`
to mark users with email addresses NOT including .ext@domain.com internal.
Please be aware that this regex could lead to a DOS attack,
[
see
](
https://en.wikipedia.org/wiki/ReDoS?
)
ReDos on Wikipedia.
Please be aware that this regex could lead to a DOS attack,
[
see
](
https://en.wikipedia.org/wiki/ReDoS?
)
ReDos on Wikipedia.
...
...
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