Missed an optional flag in the rgba regex