FS#49099 - support regex searches

Attached to Project: AUR web interface
Opened by Alad Wenter (Alad) - Tuesday, 26 April 2016, 18:41 GMT
Task Type Bug Report
Category Backend
Status Unconfirmed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 4.2.0
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 1
Private No

Details

Right now simple string matches can be done with the RPC, if the string is at least two characters long. For more complex searches with regular expressions, I know of two methods:

* Search by the pattern's first two non-regex characters, and filter the results (unreliable, e.g. for inverse matches)
* Use packages.gz, grep it and do an info query with the results. This is limited by GET requests (see  FS#49089 ), and results are a few hours out of date.

It would be nice if the RPC and/or aurweb would support regex searches natively, instead of using hacks such as the above.
This task depends upon

Loading...