Unfortunately, it seems that (perhaps due to the database-agnostic philosophy of Trac?) these are implemented not as regex-style searches but simpler ANSI SQL-based LIKE statements with the `%` wildcard.
That's what Noah was writing did not work well in MasterTicketPlugin.
This has the unfortunate side effect that no word boundary matching can be so easily introduced because, AFAIK, standards-based SQL does not support such a facility. I imagine the implementation would need to catch the result of Query.execute (I think?) and then filter those results via its own word boundary search. :(
Yes, you could perform the "contains" search and filter the result set using a regexp.
would this list be the appropriate place for such a feature request or would a Trac enhancement ticket be more appropriate?
There will be a ticket for tracking this anyway, so you might as well start with creating one. If you don't get any comments for a few days, start a new thread here.
-- Remy
signature.asc
Description: OpenPGP digital signature
