(l)
| 25 | |
| 26 | |
| 27 | def fix_line(l): |
| 28 | if not l.startswith('=='): |
| 29 | return l |
| 30 | if l == '====': |
| 31 | return l |
| 32 | if l == '.': |
| 33 | return l |
| 34 | prefix, rest = re.match(r'(=+ |\.)(.+)', l).groups() |
| 35 | return prefix + titlecase(rest, callback=specialcases) |
| 36 | |
| 37 | |
| 38 | def main(): |
no outgoing calls