Is there any trick that allows to have a { in argument delimiters of a macro ?
for example, with this definition :
\def\start#1\fin{+++#1+++}
the call
\start coucou\fin{3}4
will display
+++coucou+++34
because \fin is the right delimiter of the argument of the macro \start. Now, i would like the whole \fin{3} to be the delimiter. So that the same call as above would now output:
+++coucou+++4
The problem is how to include the curly brace in the delimiters.
Edit1 In particular, I would like the following call
\start coucou\fin{2}blabla\fin{3}
to "output"
coucou\fin{2}blabla
but, regarding to David's comments, it seems to be impossible.

\fin_isn't 3 then just recurse and collect up to the next\finand check again. This is how environments like tabularx or ams alignments that collect environments work, they scan up to\endcheck if it is the correct environment and if not collect up to the next\end. Oh I just realised\finis probably\endif you're not english:-) – David Carlisle Jun 28 '12 at 23:36\finsounds like\end, you are right ! ;) – Loic Rosnay Jun 29 '12 at 20:35