21 Mar
2010
21 Mar
'10
6:51 p.m.
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. I'm sorry I have zero experience in PHP, or I would have done a patch for this.