Fix: make Pattern() behave correctly

Signed-off-by: Frank Mertens <frank@cyblogic.de>