On 26 Aug 2015, at 09:14, aparsloe <[log in to unmask]> wrote:
> (1) I wanted to use \tl_replace_all:Nnn on a token list that might contain braced groups.

We might want to consider a "nesting" map function that essentially disregards brace groups. This could be used to define a new \tl_replace_nested:Nnn or similar for exactly this purpose. 

I'm fairly sure Bruno already has code that does nested mapping as part of his "tl" extensions... What do others think?