A useful feature of such patterns is that when we search for them on the Web they usually produce many hits, thus making statistical approaches applicable.
searching for strict validation statements generally results in a small number of documents (if any) and makes statistical methods irrelevant.