diff --git a/marc_tools/marc_extractor.py b/marc_tools/marc_extractor.py index c3a49f62de4012ed2afa6ab7e51394cb9d428aaf..a6c6dbbde87594728648aa85d8e1e6a5f44bf4f2 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_*]))?"