fixed docs
added some docs
add comments about case-sensitivity
fixing problems with partial matching of exceptions