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
69c70928
Commit
69c70928
authored
Jun 22, 2016
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update default regexp documentation to match
8172d2c1
.
[ci skip]
parent
74f8f260
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
doc/customization/issue_closing.md
doc/customization/issue_closing.md
+1
-1
No files found.
doc/customization/issue_closing.md
View file @
69c70928
...
...
@@ -8,7 +8,7 @@ the matched text will be closed. This happens when the commit is pushed to a pro
When not specified, the default
`issue_closing_pattern`
as shown below will be used:
```
bash
((
?:[Cc]los
(
?:e[sd]?|ing
)
|[Ff]ix
(
?:e[sd]|ing
)
?
)
+
(
?:
(
?:issues? +
)
?%
{
issue_ref
}(
?:
(
?:,
*
| +and +
)
?
))
+
)
((
?:[Cc]los
(
?:e[sd]?|ing
)
|[Ff]ix
(
?:e[sd]|ing
)
?
|[Rr]esolv
(
?:e[sd]?|ing
))(
:?
)
+
(
?:
(
?:issues? +
)
?%
{
issue_ref
}(
?:
(
?:,
*
| +and +
)
?
)
|
([
A-Z][A-Z0-9_]+-
\d
+
))
+
)
```
Here,
`%{issue_ref}`
is a complex regular expression defined inside GitLab, that matches a reference to a local issue (
`#123`
), cross-project issue (
`group/project#123`
) or a link to an issue (
`https://gitlab.example.com/group/project/issues/123`
).
...
...
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