Friday, April 06, 2007

Regular Expressions and Shell Basics

A 50-question self-test on regular expressions and shell basics is now posted on UnixReview at The answers to the questions appear at the end of the article.



Blogger wad said...

Some of your answers are wrong. 10. should be A; 14. should be A,B,C; 15. should be None - the correct expression is ^([^0-9]+)*$; and 31. should be B, although it only applies to vim (in Perl it also matches '_' which is not in the [:alnum:] class).

9:36 PM  
Blogger wad said...

Beg your pardon, 31. should be A but the clarification still stands.

9:41 PM  

Post a Comment

<< Home