in reply to string matching condition not working fine

Well, that's going to match anything that starts with #include

Do you have an example of what you'd like to match and not like to match? More importantly, do you have more detailed requirements? Are some of those supposed to be "optional".

Your code and your stated (English) requirements do not match - hence there's some confusion.
--------------
It's sad that a family can be torn apart by such a such a simple thing as a pack of wild dogs
  • Comment on Re: string matching condition not working fine