
I've a small trouble with regexp and I wonder it might be usefull to have a small chapter added in the FAQ.
I know how to use regsub, it's quite simple... but my trouble is to use regexp returning me the different matches.
Let me give you an example:
Code: Select all
set mystring "a string with me@domain.com or yet@another.mail may return my@list.of.mails"
Code: Select all
me@domain.com
yet@another.mail
my@list.of.mail