import re


def active(request, pattern):
    """Return 'active-nav' string when pattern matches request's full path."""
    if re.match(pattern, request.get_full_path()):
        return 'active-nav'

    return None