using System;
using System.Text.RegularExpressions;
namespace P10_13
{
    class Program
    {
       static void Main(string[] args)
        {
            Regex r = new Regex("abc"); 
            Match m = r.Match("123abc456"); 
            if (m.Success)
            {
                Console.WriteLine("ƥ䣬ƥλǣ" + m.Index); 
            }
            else
            {
                Console.WriteLine("ûзƥ䣡" );              
            }
            Console.ReadLine();
        }
    }
}
