Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 A mistake in Regular Expression

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
qpsd Posted - Sep 27 2011 : 04:06:52 AM
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.
1   L A T E S T    R E P L I E S    (Newest First)
accord Posted - Sep 28 2011 : 11:43:42 AM
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

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000