?repeats the group contents below at most once:
\s+any whitespace character, repeated at least once
type=the literal text type= (case sensitive) ?matches at most one character from the set below:
\'the literal ' (3910 / 478 / 2716)
"the literal " (3410 / 428 / 2216)
Group type(?<type>[^\'"]*?) Negated Character Class[^\'"]*? *?matches any number of characters outside the set below:
\'the literal ' (3910 / 478 / 2716)
"the literal " (3410 / 428 / 2216)
\2the text saved by group 2
\s*any whitespace character, repeated any number of times