# Patterns module for memory pattern searching