Small improvement to patterns

Doesn't really fix anything, it's just more precise.
Merge pull request #2 from ReAzem/patch-1

Small improvement to patterns