diff options
Diffstat (limited to 'git-difme.scm')
-rw-r--r-- | git-difme.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/git-difme.scm b/git-difme.scm index 9226c14..301fa54 100644 --- a/git-difme.scm +++ b/git-difme.scm @@ -130,7 +130,8 @@ the commit message will be in the following format: (define (build-stage-regex rules) "build stage regex based on RULES." (let ((regex "^")) - (cond ((null? rules) (string-append regex ".")) + (cond ((null? rules) (string-append regex "$")) + ((member "." rules) ".") (else (string-append regex "[" (string-concatenate rules) "]"))))) |