[sword-svn] r521 - trunk/versification
greg.hellings at crosswire.org
greg.hellings at crosswire.org
Wed Apr 4 19:29:27 MST 2018
Author: greg.hellings
Date: 2018-04-04 19:29:27 -0700 (Wed, 04 Apr 2018)
New Revision: 521
Modified:
trunk/versification/av11n.py
Log:
Don?\226?\128?\153t use RE when you don?\226?\128?\153t need it.
Modified: trunk/versification/av11n.py
===================================================================
--- trunk/versification/av11n.py 2018-04-05 02:29:20 UTC (rev 520)
+++ trunk/versification/av11n.py 2018-04-05 02:29:27 UTC (rev 521)
@@ -69,7 +69,7 @@
while key.popError() == '\x00':
skey = key.getOSISRef()
# Assume we enter the NT when we hit Matthew
- if not inNT and re.match('^Matt', skey):
+ if not inNT and skey.startswith('Matt'):
inNT = True
if inNT:
ntkeyList.append(skey)
More information about the sword-cvs
mailing list