develooper Front page | perl.perl5.porters | Postings from October 2003

Re: [PATCH] change p4d2p to deal with new style diff2 output

Thread Previous
From:
Rafael Garcia-Suarez
Date:
October 31, 2003 12:38
Subject:
Re: [PATCH] change p4d2p to deal with new style diff2 output
Message ID:
20031031214250.7ed76c1a.rgarciasuarez@free.fr
Jan Dubois wrote:
> Index: Porting/p4d2p
> --- Porting/p4d2p.~1~	Thu Oct 30 17:30:01 2003
> +++ Porting/p4d2p	Thu Oct 30 17:30:01 2003
> @@ -36,7 +36,7 @@
>  }
>  
>  my ($cur, $match);
> -$cur = m<^==== //depot/(.+?)\#\d+.* ====$> ... m<^(\@\@.+\@\@|\*+)$>;
> +$cur = m<^==== //depot/(.+?)\#\d+.* ====( \w+)?$> ... m<^(\@\@.+\@\@|\*+)$>;

Thanks, applied as 21587 (I also changed another occurence of this same
regular expression a few lines later).

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About