Remove regex named matches to support php older than v5.2