Guide: patterns.

Fixes #4417.
fixed both of these