def _ensure_regexp(source, n):
 markers = '(+~"\'=[%:?!*^|&-,;/\\'
 k = 0
 while True:
  k += 1
  if ((n - k) < 0):
   return True
  char = source[(n - k)]
  if (char in markers):
   return True
  if ((char != ' ') and (char != '\n')):
   break
 return False

def _ensure_regexp ( source , n ) : markers = '(+~"\'=[%:?!*^|&-,;/\\' k = 0 while True : k += 1 if ( ( n - k ) < 0 ) : return True char = source [ ( n - k ) ] if ( char in markers ) : return True if ( ( char != ' ' ) and ( char != '\n' ) ) : break return False
returns true if regexp starts at n else returns false checks whether it is not a division .