minor regex edits