If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Trace regular expression as verbatim string in c#

Hello,

how can I trace this regular expression in c#:

@"\s*\d{1,3}\s*"

The string is a verbatim string in c#. So ' will not work to take {} as characters and not as keywords.
The {1,3} is interpreted as a parameter from the list behind the output string: trace(string, parameter list).