parameters: (tab_width)
return_statement: return re.compile(r"""
          (?:
              (?<=\n\n)       # Starting after a blank line
              |               # or
              \A\n?           # the beginning of the doc
          )
          (                           # save in $1
              [ ]{0,%d}
              (?:
                  <\?\w+\b\s+.*?\?>   # XML processing instruction
                  |
                  <\w+:\w+\b\s+.*?/>  # namespaced single tag
              )
              [ \t]*
              (?=\n{2,}|\Z)       # followed by a blank line or end of document
          )
          """ % (tab_width - 1), re.X)
docstring: Standalone XML processing instruction regex.
docstring_summary: Standalone XML processing instruction regex.
docstring_tokens: Standalone XML processing instruction regex .
function: def _xml_oneliner_re_from_tab_width(tab_width):
      """Standalone XML processing instruction regex."""
      return re.compile(r"""
          (?:
              (?<=\n\n)       # Starting after a blank line
              |               # or
              \A\n?           # the beginning of the doc
          )
          (                           # save in $1
              [ ]{0,%d}
              (?:
                  <\?\w+\b\s+.*?\?>   # XML processing instruction
                  |
                  <\w+:\w+\b\s+.*?/>  # namespaced single tag
              )
              [ \t]*
              (?=\n{2,}|\Z)       # followed by a blank line or end of document
          )
          """ % (tab_width - 1), re.X)
function_tokens: def _xml_oneliner_re_from_tab_width ( tab_width ) : return re . compile ( r"""
          (?:
              (?<=\n\n)       # Starting after a blank line
              |               # or
              \A\n?           # the beginning of the doc
          )
          (                           # save in $1
              [ ]{0,%d}
              (?:
                  <\?\w+\b\s+.*?\?>   # XML processing instruction
                  |
                  <\w+:\w+\b\s+.*?/>  # namespaced single tag
              )
              [ \t]*
              (?=\n{2,}|\Z)       # followed by a blank line or end of document
          )
          """ % ( tab_width - 1 ) , re . X )