Steve Shockley wrote:
> On 4/22/2010 6:38 PM, Helmut Schneider wrote:
> > Actually it matches any string containing a minus followed by 1 or
> > more digits or dots, e.g. "file-4.24" but also "file-.".
> >
> > I'd use "-(\d+\.)+\d+".
>
> Thanks. It appears it's not the regex that's the problem, apparently
> file changed the output of file -v from stdout to stderr between 4.21
> and 4.24:
{component => "file(1)", type => "file -v 2>&1", regexp =>
"\-([0-9\.]+)", minver => "4.12",
might work then.
--
No Swen today, my love has gone away
My mailbox stands for lorn, a symbol of the dawn