import pathlib
import re

p = pathlib.Path('fix_db.py')
s = p.read_text(encoding='utf-8')
lines = s.split(chr(10))
line11 = lines[10]
print('Line 11:', repr(line11))

# Find all occurrences of 'orphaned' in line 11
for m in re.finditer(r'orphaned', line11):
    start = m.start()
    end = min(start + 20, len(line11))
    print('Match at', start, repr(line11[start:end]))
    print('Code points:', [hex(ord(c)) for c in line11[start:end]])
