From 3dd87553556af61253001ce492ea0af5b33d4ae2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriele=20H=C3=B6fler?= Date: Fri, 7 Jun 2019 14:15:29 +0200 Subject: [PATCH] Correct comment for patterns --- marc_tools/marc_extractor.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/marc_tools/marc_extractor.py b/marc_tools/marc_extractor.py index c3a49f6..a6c6dbb 100644 --- a/marc_tools/marc_extractor.py +++ b/marc_tools/marc_extractor.py @@ -29,9 +29,8 @@ class SelectorPredicate: class SingleCommand(ParseCommand): # Testing the input of the patterns, we can either have: - # * tag only + # * tag only (if it is a controlfield, like 009) # * tag with inds only - # * tag with subfield only or # * tag with both inds and subfield # Indicators must always be given in pairs, blank-separated pat_tag = re.compile(r"^(\d{3}|AVA)( ([0-9_*]) ([0-9_*]))?" -- GitLab