This search filter is passed to the activityLogPrivate API, which evaluates it as an SQLite LIKE operation (http://www.sqlite.org/lang_expr.html#like).

I've deleted the JavaScript implementation of matching (later in this change) since nothing is using it.