more thorough extend/merge, notably for master_dir across Theory.join_theory (e.g. for @{file} antiquotation);
syntax: glob
*~
*.class
*.jar
*.marks
*.orig
*.rej
.DS_Store
.swp
syntax: regexp
^contrib
^heaps/
^browser_info/
^doc/.*\.pdf
^lib/classes/
^src/Tools/jEdit/dist/
^src/Tools/VSCode/out/
^src/Tools/VSCode/extension/node_modules/
^Admin/jenkins/ci-extras/target/