From 8f73ef852fb8b4f8db484bee90712c48d7f8a291 Mon Sep 17 00:00:00 2001 From: Yongfu Liao Date: Mon, 2 Dec 2024 13:41:13 +0800 Subject: [PATCH] fix bug --- concordancer/utils.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/concordancer/utils.py b/concordancer/utils.py index 909ab04a..e69f02a3 100644 --- a/concordancer/utils.py +++ b/concordancer/utils.py @@ -72,7 +72,7 @@ def allValues_match_token(values:list, tag:Union[str, int] , target: dict) -> bo def append_regex_anchors(x: str): - x = "(" + x + ")" + # x = "(" + x + ")" if not x.startswith('^'): x = '^' + x if not x.endswith('$'): diff --git a/setup.py b/setup.py index 960c1d05..f060b6a7 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ long_description = f.read().strip() setup(name='concordancer', - version='0.1.15', + version='0.1.16', description='Extract concordance lines from corpus with CQL', long_description=long_description, long_description_content_type='text/markdown',