-
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).
The Trace-function always throws a System.FormatException.
 Morna
Similar Threads
-
By mdengler in forum ASP.NET
Replies: 0
Last Post: 11-26-2002, 03:32 PM
-
By Fred Mayes in forum Java
Replies: 1
Last Post: 06-05-2001, 06:12 AM
-
By Julian Milano in forum VB Classic
Replies: 2
Last Post: 08-11-2000, 12:11 PM
-
By chandra in forum VB Classic
Replies: 0
Last Post: 06-22-2000, 07:36 AM
-
By Robert Rieth in forum VB Classic
Replies: 1
Last Post: 04-11-2000, 03:21 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|