Skip to main content

branch_names_issue

Function branch_names_issue 

Source
pub fn branch_names_issue(branch: &str, issue_number: u32) -> bool
Expand description

Whether branch names issue issue_number: the number appears as a token of its own, after the start of the name or one of - _ / #, and before its end or one of - _ /. So issue-12-login, 12-fix and fix/12 name #12, while v1.2, issue-123 and issue12 do not.