Posted by Anonymous on Thu 4 Sep 19:56
report abuse | download | new post
- using System;
- using System.Text.RegularExpressions;
- namespace myapp
- {
- class Class1
- {
- static void Main(string[] args)
- {
- String sourcestring = "expression(";
- if (re.IsMatch(sourcestring))
- {
- Console.WriteLine("match");
- }
- else
- {
- Console.WriteLine("no match");
- }
- }
- }
- }
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.