]> git.donarmstrong.com Git - debian/debian-policy.git/commitdiff
TeX got confused by the new perl regexpo in policy; had to create a woraround to...
authorManoj Srivastava <srivasta@debian.org>
Thu, 16 Jun 2005 05:11:56 +0000 (05:11 +0000)
committerManoj Srivastava <srivasta@debian.org>
Thu, 16 Jun 2005 05:11:56 +0000 (05:11 +0000)
Author: srivasta
Date: 2001/04/28 19:10:09
TeX got confused by the new perl regexpo in policy; had to create a woraround to package policy

git-archimport-id: srivasta@debian.org--etch/debian-policy--devel--3.0--patch-103

policy.sgml

index 1b28837928ad5b53f9460a9e1bb767f94bf61067..ceabf510e82187e08433f837fb1ac145a6d97e67 100644 (file)
 
        <p>
          The architectures we build on and build for are determined
-         by <prgn>make</prgn> variables using
+         by <prgn>make</prgn> variables using the utility
          <prgn>dpkg-architecture</prgn>.  You can determine the
          Debian architecture and the GNU style architecture
          specification string for the build machine (the machine type
          <footnote>
            <p>
              To be precise, the string should match the following
-             Perl regular expression:
+             Perl regular expression (where $pound=<tt>#</tt>;):
              <example>
-/closes:\s*(?:bug)?\#?\s?\d+(?:,\s*(?:bug)?\#?\s?\d+)*/i
+/closes:\s*(?:bug)?${pound}?\s?\d+(?:,\s*(?:bug)?\${pound}?\s?\d+)*/i
              </example>
+             <footnote>
+               <p>We had to introduce the $pound variable in the
+                 regexp above because otherwise the utilities
+                 rendering the policy documents gor confused by a
+                 backslashed "#" symbol.
+               </p>
+             </footnote>
              Then all of the bug numbers listed will be closed by the
              archive maintenance script (<prgn>katie</prgn>), or in
              the case of an NMU, marked as fixed.