Commit 7babcb13 authored by Stan Hu's avatar Stan Hu

Merge branch '330278-remove-deprecated-and-unused-regex' into 'master'

Remove unused WIP regex

See merge request gitlab-org/gitlab!79856
parents c62b9a16 0ad8a545
......@@ -435,10 +435,6 @@ module Gitlab
@utc_date_regex ||= /\A[0-9]{4}-[0-9]{2}-[0-9]{2}\z/.freeze
end
def merge_request_wip
/(?i)(\[WIP\]\s*|WIP:\s*|\AWIP\z)/
end
def merge_request_draft
/\A(?i)(\[draft\]|\(draft\)|draft:)/
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment