Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Catalyst-View-CSS-Minifier-XS CPAN distribution.

Report information
The Basics
Id: 85003
Status: resolved
Priority: 0/
Queue: Catalyst-View-CSS-Minifier-XS

People
Owner: Nobody in particular
Requestors: lang [...] pythian.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: regex too greedy when loading files
Date: Thu, 2 May 2013 15:08:25 -0400
To: bug-Catalyst-View-CSS-Minifier-XS [...] rt.cpan.org
From: William Lang <lang [...] pythian.com>
Catalyst/View/CSS/Minifier/XS.pm line 72 $_ =~ s/\.css//; $dir->file( "$_.css" ) This regex is too greedy, it should be $_ =~ s/\.css$//; $dir->file( "$_.css" ) like Catalyst::View::JavaScript::Minifier::XS -- *William Lang* Software Developer Pythian - Love your data lang@pythian.com Tel: +1 613 565 8696 x 1398 Mobile: +1 613 809 6999 www.pythian.com -- --
On Thu May 02 15:08:44 2013, lang@pythian.com wrote: Show quoted text
> Catalyst/View/CSS/Minifier/XS.pm > > line 72 > > $_ =~ s/\.css//; $dir->file( "$_.css" ) > > This regex is too greedy, it should be > > $_ =~ s/\.css$//; $dir->file( "$_.css" ) > > like > Catalyst::View::JavaScript::Minifier::XS >
This issue was already fixed