This commit is contained in:
Jerzy Drozdz 2018-11-02 23:03:11 +01:00
parent 1ab59e7e48
commit 342786bdc3

View file

@ -1694,6 +1694,8 @@ def _starts_till(src, probe, strip_comments=True):
if not src or not probe:
return no_match
src = src.rstrip('\n\r')
probe = probe.rstrip('\n\r')
if src == probe:
return equal