From: Ian Jackson Date: Sat, 13 Oct 2018 09:52:25 +0000 (+0100) Subject: dgit: Put (?: ) around $cleanmode_re and use qr{}. X-Git-Tag: archive/debian/8.0~34 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=7053910ee1c73badd2df933b28e5fdad8eee161f;hp=6679a38dc8a026af322b799be533789684e74721 dgit: Put (?: ) around $cleanmode_re and use qr{}. No functional change. Signed-off-by: Ian Jackson --- diff --git a/dgit b/dgit index efd29620..de14c1ef 100755 --- a/dgit +++ b/dgit @@ -101,7 +101,7 @@ 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 = 'dpkg-source(?:-d)?|git|git-ff|check|none'; +our $cleanmode_re = qr{(?:dpkg-source(?:-d)?|git|git-ff|check|none)}; our $git_authline_re = '^([^<>]+) \<(\S+)\> (\d+ [-+]\d+)$'; our $splitbraincache = 'dgit-intern/quilt-cache';