Small regex fix for text search