  
  
  @pytest.mark.xfail
  def test_issue850():
      """The problem here is that the variable-length pattern matches the
      succeeding token. We then don't handle the ambiguity correctly."""
      matcher = Matcher(Vocab(
                  lex_attr_getters={LOWER: lambda string: string.lower()}))
      IS_ANY_TOKEN = matcher.vocab.add_flag(lambda x: True)
      matcher.add('FarAway', None, [{'LOWER': "bob"}, {'OP': '*', 'IS_ANY_TOKEN': True}, {'LOWER': 'frank'}])
      doc = Doc(matcher.vocab, words=['bob', 'and', 'and', 'frank'])
 
</s> remove @pytest.mark.xfail
 </s> add  </s> remove         abstract_patterns = []
        for length in range(1, max_length):
            abstract_patterns.append([{tag: True}
                                      for tag in get_bilou(length)])
 </s> add         abstract_patterns = [
            [{U_ENT: True}],
            [{B2_ENT: True}, {L2_ENT: True}],
            [{B3_ENT: True}, {I3_ENT: True}, {L3_ENT: True}],
            [{B4_ENT: True}, {I4_ENT: True}, {I4_ENT: True, "OP": "+"}, {L4_ENT: True}],
        ] </s> remove @pytest.mark.xfail
 </s> add  </s> remove                 # Important that the labels be stored as a list! We need the
                # order, or the model goes out of synch
                self.cfg.setdefault('extra_labels', []).append(label)
 </s> add  </s> remove                 self._phrase_key[i] = lexeme.orth
            phrase_hash = hash64(self._phrase_key,
                                 self.max_length * sizeof(attr_t), 0)
 </s> add                 phrase_key[i] = lexeme.orth
            phrase_hash = hash64(phrase_key,
                                 length * sizeof(attr_t), 0)
    """The variable-length pattern matches the
    succeeding token. Check we handle the ambiguity correctly."""
  
  
  @pytest.mark.xfail
  def test_issue850():
    """The variable-length pattern matches the
    succeeding token. Check we handle the ambiguity correctly."""
    """The variable-length pattern matches the
    succeeding token. Check we handle the ambiguity correctly."""
      matcher = Matcher(Vocab(
                  lex_attr_getters={LOWER: lambda string: string.lower()}))
      IS_ANY_TOKEN = matcher.vocab.add_flag(lambda x: True)
      matcher.add('FarAway', None, [{'LOWER': "bob"}, {'OP': '*', 'IS_ANY_TOKEN': True}, {'LOWER': 'frank'}])
      doc = Doc(matcher.vocab, words=['bob', 'and', 'and', 'frank'])
keep keep keep keep replace replace keep keep keep keep keep
 Revert "Merge branch 'develop' of https://github.com/explosion/spaCy into develop"

This reverts commit c9ba3d3c2dc7067cf8bd55f878cec45a8c6d73d4, reversing
changes made to 92c26a35d425d4e8ca1b805ea776ea10f5ded3df. 
spacy/tests/regression/test_issue850.py