Wednesday, May 4, 2011

Applications of Regular expressions or regex

There are various applications of regular expression. We can just think of them. To list few:
  • One application of regular expressions is to facilitate the construction of a compiler. Often, a large and complex regular expression is used to validate the syntax of a program. If the program code does not match the regular expression, the compiler knows that there is a syntax error within the code.

No comments:

Post a Comment

Chitika