Add call to preg_match function in query method

When try to execute a query that calls a stored procedure, ex. "call my_stored_procedure;", the script execution stops.