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
Show 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
...
...
@@ -244,7 +244,7 @@ The regex pattern format is Ruby, but it needs to be convertible to JavaScript,
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.
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