Have a regexp as follows:
^Peter kicks (.+)|Bob punches (.+)|Josh bites (.+)$
%0 returns the whole string as expected. %1 is empty, however. Naming does not seem to change anything. Is there some way to capture the matching (.+) for all alternatives without rewriting this as three separate triggers?
Cheers and sorry for any trouble!
^Peter kicks (.+)|Bob punches (.+)|Josh bites (.+)$
%0 returns the whole string as expected. %1 is empty, however. Naming does not seem to change anything. Is there some way to capture the matching (.+) for all alternatives without rewriting this as three separate triggers?
Cheers and sorry for any trouble!