[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#121132: [patch] Proposed regex pinning feature



Julian Andres Klode píše v So 28. 03. 2009 v 19:53 +0100:
> On Sat, Mar 28, 2009 at 06:19:49PM +0000, Duncan Gibb wrote:
> > So you can write, for example:
> > 
> >   Package: /.*openoffice\.org.*/
> I would like to have something like this instead:
> 
>   Package: openoffice.org-*

It would be nice to have both syntaxes. Perl regexp is powerful;
shell-like wildcards are short and mostly sufficient.

When we have perl regexp support, it should be easy to add shell-like
wildcards. Maybe just escape dots and other characters and replace
"?" -> "." and "*" -> ".*".

Nice work :)
Josef Kufner.

-- 
A bus station is where a bus stops. A train station is where a train
stops. On my desk, I have a work station... What more can I say.

Attachment: signature.asc
Description: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?= =?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?= =?ISO-8859-1?Q?_zpr=E1vy?=


Reply to: