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
Tatuya Kamada
gitlab-ce
Commits
dc5bd10d
Commit
dc5bd10d
authored
Dec 23, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5922 from jhollingsworth/fix/rake-routes
Fixed issue with `bundle exec rake routes` not running.
parents
055b3c4d
405492e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
lib/gitlab/regex.rb
lib/gitlab/regex.rb
+11
-11
No files found.
lib/gitlab/regex.rb
View file @
dc5bd10d
...
...
@@ -24,20 +24,20 @@ module Gitlab
%r{
(?!
# doesn't begins with
\/
|
# (
rule #6)
# doesn't contain
(?# doesn't begins with)
\/
|
(?#
rule #6)
(?# doesn't contain)
.*(?:
[
\/
.]
\.
|
# (
rule #1,3)
\/\/
|
# (
rule #6)
@
\{
|
# (
rule #8)
\\
# (
rule #9)
[
\/
.]
\.
|
(?#
rule #1,3)
\/\/
|
(?#
rule #6)
@
\{
|
(?#
rule #8)
\\
(?#
rule #9)
)
)
[^
\000
-
\040\177
~^:?*
\[
]+
# (
rule #4-5)
# doesn't end with
(?<!
\.
lock)
# (
rule #1)
(?<![
\/
.])
# (
rule #6-7)
[^
\000
-
\040\177
~^:?*
\[
]+
(?#
rule #4-5)
(?# doesn't end with)
(?<!
\.
lock)
(?#
rule #1)
(?<![
\/
.])
(?#
rule #6-7)
}x
end
...
...
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