Dear Sven, the patch your forwarded to twiki.org is quite simple. I had something similar before, adding '\b' in front of 'Name' to the regular expression.
But after having a second look at that procedure I think that the design is wrong and this is the root cause of the bug. Why to check for the beginning of the block while you are in the block? Why to do whitespace removal on an item which you might throw away (when you are not in a block? The patch I suggested does check for items (or end of block) while it is in a block, or check for the beginning of a block while it's outside. No throw-away pattern-matching and substitution. As a side-effect, with the proper design, you can have '*Name*' as an option value - at no extra cost. What do you think about that? Cheers, Kai.