[lang-ref] ( regexp_is_match ) ( python )

def test_regexp_is_match():
    pytest.skip('is_match itself not exist')
def test_regexp_is_match_alternative():
    # search(pattern, text) is not None
    text    = 'abcdef abcdef abcdef'
    pattern = r'd.f'

    is_match = re.search(pattern, text) is not None

    assert is_match is True