_find_unescaped#

barecat.maintenance.rsync._find_unescaped(s, needle)[source]#

Find first occurrence of needle not preceded by odd number of backslashes.

Returns index or -1 if not found.

Parameters:
Return type:

int