def METHOD_NAME(regex):
    """
    Returns list of examples of minimal strings that match the expression.
    This is a single purpose generator to optimize database queries in Weblate.
    """
    from weblate.utils.errors import report_error
    try:
        invre = GroupEmitter(RE_PARSER.parse_string(regex)).make_generator()
    except ParseException:
        report_error(cause="Regexp parser")
        return []
    return invre()