(Dinosaur)
?:
after opening parenthesis of a capturing group creates a non-capturing group. Useful for example with template function reFindAllSubmatches
.{{ reFindAllSubmatches `(?:color=)(red|blue|green)` "color=red beautiful" }}
dateid,
because it's a whole match:
{{ slice (index (reFindAllSubmatches `(?:dateid=)([0-9]{5})` "dateid=12345") 0) 1 }}
(Cat|Dog)
.*
.(Banana)
([abc])
([A-z])
([0-9])
\*
.