Fixed minor regex bug