Fixed trigger to use preg_rlike().
Removed ip_match() and url_match(), along with all calls to those functions.  This functionality is now handled by the pre-insert trigger on the request table.