Friday, July 01, 2005

Regular Expressions

How will you write a regular expression (RE) such that it will accept all strings except "hello"? You cannot use perl RE or extended RE's.
[ Remember RE are thigns you use in "grep" in UNIX ]

Here is the answer:
http://compilers.iecc.com/comparch/article/05-06-050

No comments: