code: def _references(self, i, sequence=False):
          
  
          value = ''
  
          c = next(i)
          if c == '\\':
              # \\
              if sequence and self.bslash_abort:
                  raise PathNameException
              value = c
          elif c == '/':
              # \/
              if sequence:
                  raise PathNameException
              i.rewind(1)
          else:
              # \a, \b, \c, etc.
              pass
          return value
docs: Handle references.