parameters: (url)
return_statement: return url, None
docstring: splittag('/path#tag') --> '/path', 'tag'.
docstring_summary: splittag('/path#tag') --> '/path', 'tag'.
docstring_tokens: splittag ( / path#tag ) -- > / path tag .
function: def splittag(url):
      """splittag('/path#tag') --> '/path', 'tag'."""
      global _tagprog
      if _tagprog is None:
          import re
          _tagprog = re.compile('^(.*)#([^#]*)$')
  
      match = _tagprog.match(url)
      if match: return match.group(1, 2)
      return url, None
function_tokens: def splittag ( url ) : global _tagprog if _tagprog is None : import re _tagprog = re . compile ( '^(.*)#([^#]*)$' ) match = _tagprog . match ( url ) if match : return match . group ( 1 , 2 ) return url , None