fix typo issue
fix some parameter checking in macroList

Missed applying the fix to the preg issue in macroList
Add missed package/subpackage to exampleMacaros
Merge remote-tracking branch 'origin/master' into 1.4.6