the bit in the middle u mean? because that % symbol ("% are ...") has already been matched in its "%cats%" incarnation.
iow "%(.*?)%" will match "%cats%", the processor will then go to work on the remaining part, "are nice but %strings% are stringy", and match "%strings%".
― nanoflymo (ledge), Monday, 10 January 2011 09:47 (thirteen years ago) link