-Changed regex pattern for searching from .*query.* to query.*?