qmd: replace paths array with pattern string and add ignore for excluded patterns
#22683
+255
−150