Hi, On Wed, Dec 25, 2013 at 03:53:58AM +0100, gregor herrmann wrote: > On Tue, 24 Dec 2013 18:44:51 -0800, Russ Allbery wrote: > > > > foreach (grep { $_ } split /(?<!\\)\s+/, $data->{"files-excluded"}) { > > > s?\\??g; # to keep the style of what's in uscan ... > > > say $_; > > > } > > > > The trouble with this approach is that it mis-splits: > > > > foo\\ bar > > > > which should become "foo\" and "bar". > > Ah, good point. > > > You need a negative look-behind > > assertion that accepts an odd number of backslashes, at which point you > > run into the problem that negative look-behind assertions have to be > > fixed-length. > > Ack. > > Andreas: please take Russ' solution :)
I'm deeply impressed by the stuff you guys are dealing with at Christmas Eve. ;-) While my family is not as tolerant to let me put those topics on the table I'd be really happy if some of you could send a bug report with the patch to BTS. I admit I would need to do some reading about Perl first to understand your discussion fully and we would definitely save time if you do not wait on me. :-) Kind regards - and it is really fun to have "another technical family" so I wish you a merry Christmas as well Andreas. -- http://fam-tille.de -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org