          ones). However, the "greedy" argument can filter the final matches
          by returning a non-overlapping set per key, either taking preference to
          the first greedy match ("FIRST"), or the longest ("LONGEST").
  
          As of spaCy v2.2.2, Matcher.add supports the future API, which makes
          the patterns the second argument and a list (instead of a variable
          number of arguments). The on_match callback becomes an optional keyword
          argument.
  
          key (Union[str, int]): The match ID.
          patterns (list): The patterns to add for the given key.
          on_match (callable): Optional callback executed on match.
          greedy (str): Optional filter: "FIRST" or "LONGEST".
 
</s> remove         As of spaCy v2.2.2, PhraseMatcher.add supports the future API, which
        makes the patterns the second argument and a list (instead of a variable
        number of arguments). The on_match callback becomes an optional keyword
 </s> add         Since spaCy v2.2.2, PhraseMatcher.add takes a list of patterns as the
        second argument, with the on_match callback as an optional keyword </s> remove                 if label.startswith(("B-", "U-", "L-")) and doc[i].text in [
                    ".",
                    "'",
                    "!",
                    "?",
                    ",",
                ]:
                    # punctuation entity: could be replaced by whitespace when training with noise,
                    # so add a warning to alert the user to this unexpected side effect.
                    data["punct_ents"] += 1
 </s> add  </s> remove         if not has_punct_ents_warning:
            msg.good("No entities consisting of or starting/ending with punctuation")
 </s> add  </s> remove             msg.text(
                "As of spaCy v2.1.0, entity spans consisting of or starting/ending "
                "with whitespace characters are considered invalid."
            )

        if has_punct_ents_warning:
 </s> add  </s> remove                 "with punctuation can not be trained with a noise level > 0."
 </s> add                 "with whitespace characters are considered invalid."
        Since spaCy v2.2.2, Matcher.add takes a list of patterns as the second
        argument, and the on_match callback is an optional keyword argument.
          ones). However, the "greedy" argument can filter the final matches
          by returning a non-overlapping set per key, either taking preference to
          the first greedy match ("FIRST"), or the longest ("LONGEST").
  
        Since spaCy v2.2.2, Matcher.add takes a list of patterns as the second
        argument, and the on_match callback is an optional keyword argument.
        Since spaCy v2.2.2, Matcher.add takes a list of patterns as the second
        argument, and the on_match callback is an optional keyword argument.
        Since spaCy v2.2.2, Matcher.add takes a list of patterns as the second
        argument, and the on_match callback is an optional keyword argument.
        Since spaCy v2.2.2, Matcher.add takes a list of patterns as the second
        argument, and the on_match callback is an optional keyword argument.
  
          key (Union[str, int]): The match ID.
          patterns (list): The patterns to add for the given key.
          on_match (callable): Optional callback executed on match.
          greedy (str): Optional filter: "FIRST" or "LONGEST".
keep keep keep keep replace replace replace replace keep keep keep keep keep
 Remove some old version refs in the docs (#9448)

* Remove some old version refs in the docs

* Remove warning

* Update spacy/matcher/matcher.pyx

* Remove all references to the punctuation warning

Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com> 
spacy/matcher/matcher.pyx