Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 A mistake in Regular Expression
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

qpsd
Starting Member

China
1 Posts

Posted - Sep 27 2011 :  04:06:52 AM  Show Profile  Reply with Quote
when i use an array like below:
public static string[] = new string[] {
@"\\s+\\w+\\s+\\W",
@"\\""s+\\w+\\""",
};

The assist X will not parse the file correctly, due to the three """, the sentence followed is ignored, and will not display in outline panel.

So please correct the algorithm for match of Regular Expression.

By the way, the file compiled successfully in VS2008.

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Sep 28 2011 :  11:43:42 AM  Show Profile  Reply with Quote
It doesn't compile for me. Can you please also post the surroundings? The whole file? (it can be a simplified one)
It seems to be a C# code, so I pasted the code to a C# file and got the following result:



Only the using statements are missing from the screenshot.
As you can see, = is underlined and the compiler also complains
error CS1519: Invalid token '=' in class, struct, or interface member declaration
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000