From: demerphq Date: Fri, 23 Dec 2011 16:02:22 GMT Subject: Re: "Nested quantifiers" error in gitweb with "++" in the filename Message-ID: In-Reply-To: On 22 December 2011 21:37, Jehan Bing wrote: > Hi, > > I'm getting an error when trying to look at a blob when the filename has > "++" in it: > > http://.../blob/13ec1624fefc23d20d0407aac3337b35844a2ceb:/foo-++.txt This error comes because the filename is being used a pattern without being protected by a quotemeta. Interestingly, a later version of perl would not have this problem as ++ is a legal quantifier as of 5.10, nevertheless it probably wouldnt do what you expected. yves -- perl -Mre=debug -e "/just|another|perl|hacker/"