From 79d315e9c8f487e2d5706170bb66ad77252fb7e3 Mon Sep 17 00:00:00 2001 From: "Dustin J. Mitchell" Date: Fri, 23 Dec 2016 22:04:45 +0000 Subject: [PATCH] Bug 1302192: require headings to begin a line; r=hammad13060+583205 MozReview-Commit-ID: 4me4VI8Si0h --HG-- extra : rebase_source : 0bcb53df1973e47d8915fd38e943633cc9706e4f --- taskcluster/taskgraph/util/verify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taskcluster/taskgraph/util/verify.py b/taskcluster/taskgraph/util/verify.py index a0ab30c554ea..ba32e4951e3f 100644 --- a/taskcluster/taskgraph/util/verify.py +++ b/taskcluster/taskgraph/util/verify.py @@ -24,7 +24,7 @@ def verify_docs(filename, identifiers, appearing_as): ] elif appearing_as == "heading": expression_list = [ - identifier + "\n(?:(?:(?:-+\n)+)|(?:(?:.+\n)+))" + '\n' + identifier + "\n(?:(?:(?:-+\n)+)|(?:(?:.+\n)+))" for identifier in identifiers if not identifier.startswith("_") ]