Rename local variable to avoid confusion
Add advanced ignore pattern matching