diff options
author | Greg Hellings <greg.hellings@gmail.com> | 2018-04-05 02:29:27 +0000 |
---|---|---|
committer | Greg Hellings <greg.hellings@gmail.com> | 2018-04-05 02:29:27 +0000 |
commit | 31aebca3301b72ab443e52a175fd908b129fa5a8 (patch) | |
tree | 584d2df5366679e5e1d470e8333ba4d4b909f5a0 | |
parent | 49cb074836fefb9526176ddd4a64ee71dc289672 (diff) | |
download | sword-tools-31aebca3301b72ab443e52a175fd908b129fa5a8.tar.gz |
Don’t use RE when you don’t need it.
git-svn-id: https://www.crosswire.org/svn/sword-tools/trunk@521 07627401-56e2-0310-80f4-f8cd0041bdcd
-rwxr-xr-x | versification/av11n.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/versification/av11n.py b/versification/av11n.py index 54347a8..c464fd9 100755 --- a/versification/av11n.py +++ b/versification/av11n.py @@ -69,7 +69,7 @@ for v11n in av11ns: 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) |