Fixed glob parsing for [[:class:]] and [~.:]. Thanks to dualbus!