code: def test_sklearn_crfsuite_feature_re(xseq, yseq):
      crf = CRF(c1=0.0, c2=0.1, max_iterations=50)
      crf.fit([xseq], [yseq])
  
      expl = explain_weights(
          crf, feature_re=re.compile("(солн|clean)", re.U)
      )
      for expl in format_as_all(expl, crf):
          assert "солн" in expl
          assert "clean" in expl
          assert "walk" not in expl
  
file_path: eli5/tests/test_sklearn_crfsuite.py
imports: from __future__ import absolute_import, print_function
  import re
  import pytest
  import numpy
  from sklearn_crfsuite import CRF
  from eli5 import explain_weights
  from .utils import format_as_all
label_desc: Use image node_id 4 for calling a global function with example usage: test_sklearn_crfsuite_feature_re(xseq, yseq) without return types