?+repeats the group contents below at most once:
Comment: content up to the next alt/title attribute (optional)
Negated Character Class[^><"]* *matches any number of characters outside the set below:
>the literal > (6210 / 768 / 3E16)
<the literal < (6010 / 748 / 3C16)
"the literal " (3410 / 428 / 2216)
Comment: end of the previous attribute
Atomic Group(?> [^><"]* " [^"]* " )*? *?repeats the group contents below any number of times:
Negated Character Class[^><"]* *matches any number of characters outside the set below:
>the literal > (6210 / 768 / 3E16)
<the literal < (6010 / 748 / 3C16)
"the literal " (3410 / 428 / 2216)
Negated Character Class[^"]* *matches any number of characters outside the set below:
"the literal " (3410 / 428 / 2216)
Comment: other attributes (optional)
Negated Character Class[^><"]* *matches any number of characters outside the set below:
>the literal > (6210 / 768 / 3E16)
<the literal < (6010 / 748 / 3C16)
"the literal " (3410 / 428 / 2216)
Comment: spaces or attributes without values (optional)
\ban ASCII word boundary
Non-Capturing Group(?:alt|title) altthe literal text alt (case sensitive) titlethe literal text title (case sensitive) \s*any whitespace character, repeated any number of times
=the literal = (6110 / 758 / 3D16)
\s*any whitespace character, repeated any number of times
Comment: the next alt/title attribute