#2: Added docstrings to path_patterns.py.