Reimplemented view patterns.

View patterns no longer rely on regular expressions.

View patterns implement the custom md:, :ds: and :path: tokens.