[aur-dev] Regexp Support for AUR package search; wouldn't it be nice?

lolilolicon lolilolicon at gmail.com
Sun Mar 28 21:28:51 CEST 2010

On 03/28/10 at 01:49pm, Loui Chang wrote:
> On Mon 22 Mar 2010 02:51 +0800, lolilolicon wrote:
> > Hi, I did a `grep -R LIKE aur-1.6.0` and it seems to me that changing
> > four of those LIKE's to RLIKE would add Regexp support for package
> > search.
> >
> > Currently, the only "regexp" supported by AUR are % and _. I think AUR
> > should really somehow grow some support for real regular expressions.
> >
> > I'm not aware of any issue this may introduce, except for a little bit
> > heavier on resources; adding a timeout on queries should avoid shitty
> > regexp queries as well.
> Yeah it's something I've considered, but I haven't had a chance to
> explore the issues that it may introduce.

Will resources be an issue? I hope RLIKE or REGEXP won't introduce too
much server load.
I don't know if one can do some "regexp query attack" so it seems to me
a harmless progress to make.

Maybe put up an "aur-testing" page so users can help testing it out, then
you guys can make the final decisions?


More information about the aur-dev mailing list