minor regex bug