Regular Expressions and Shell Basics
A 50-question self-test on regular expressions and shell basics is now posted on UnixReview at http://www.unixreview.com/documents/s=10125/ur0704d/ur0704d.htm. The answers to the questions appear at the end of the article.
2 Comments:
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).
Beg your pardon, 31. should be A but the clarification still stands.
Post a Comment
<< Home