fix bug handling alphabetic numberings below numeric numberings now
This commit is contained in:
parent
850b9db6d6
commit
d3dd29cf81
|
@ -869,7 +869,7 @@ def unique_hierarchical_prefix_numbering(entries, start_point=0):
|
|||
for m in matches:
|
||||
pos = m.start()
|
||||
if pos < start_point:
|
||||
return None
|
||||
break
|
||||
prefix = nname(longest_entry)[:pos]
|
||||
debug(f'Checking prefix {prefix}')
|
||||
if all(nname(e).startswith(prefix) or prefix.startswith(nfc(e.stem)) for e in entries):
|
||||
|
|
Loading…
Reference in a new issue