Merge branch '3358-sample-and-dataset-are-used-in-regex-patterns' into 'master'
After getting deeper into the doc, I feel unable to improve the documentation. Matias felt like I should not merge the work myself, so I let it sit here and see if anyone ever feels like merging it.
Closes #3389 (closed)