28 Mar
2010
28 Mar
'10
5:49 p.m.
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.