除了之前介绍的 Spec2 内置的 Matcher, 针对不同的功能,Spec2 还提供了一些可选的 Matcher,比如:Result如果你需要其它 Matcher 的结果:// you need to extend the ResultMatchers traitclass MatchersSpec extends Specification with matcher.ResultMatchers { def is = "beMatching is using a regexp" ! { ("Hello" must beMatching("h.