diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-10-13 11:41:09 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-10-13 12:53:31 +0100 |
commit | e289b3f481be490065d59067918eabae6a180b47 (patch) | |
tree | 725885a3a89768914f83c2538ce211353af26bb8 | |
parent | f15061e0b700cc7102eee181b022070a18927039 (diff) |
dgit: $cleanmode_re: Use extended syntax
No functional change.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
-rwxr-xr-x | dgit | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -101,7 +101,11 @@ our %forceopts = map { $_=>0 } our %format_ok = map { $_=>1 } ("1.0","3.0 (native)","3.0 (quilt)"); our $suite_re = '[-+.0-9a-z]+'; -our $cleanmode_re = qr{(?:dpkg-source(?:-d)?|git|git-ff|check|none)}; +our $cleanmode_re = qr{(?: dpkg-source (?: -d )? + | git | git-ff + | check + | none + )}x; our $git_authline_re = '^([^<>]+) \<(\S+)\> (\d+ [-+]\d+)$'; our $splitbraincache = 'dgit-intern/quilt-cache'; |