p4raw-id: //depot/perl@4909
# while we are within range
if ($cur) {
- if (m|^\.\.\. (//depot/.+?#\d+) (add|branch)$|) {
+ if (m{^\.\.\. (//depot/.+?#\d+) (add|branch)$}) {
my $newfile = $1;
push @addfiles, $newfile;
warn "$newfile add, revision != 1!\n" unless $newfile =~ /#1$/;