4ee8f67612e87a6ece9c939ccac64901fc712c08,plotnine/facets/facet_grid.py,,parse_grid_facets,#Any#,267

Before Change



    variables_pattern = r"(\w+(?:\s*\+\s*\w+)*|\.)"
    pattern = r"\s*{0}\s*~\s*{0}\s*".format(variables_pattern)
    match = re.match(pattern, facets)

    if not match:
        raise PlotnineError(error_msg_s)

    lhs = match.group(1)
    rhs = match.group(2)

    if lhs == ".":
        rows = []

After Change


        rhs = rhs.strip()

    lsplitter = " + " if " + " in lhs else "+"
    rsplitter = " + " if " + " in rhs else "+"

    if lhs == ".":
        rows = []
    else:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: has2k1/plotnine
Commit Name: 4ee8f67612e87a6ece9c939ccac64901fc712c08
Time: 2017-09-21
Author: has2k1@gmail.com
File Name: plotnine/facets/facet_grid.py
Class Name:
Method Name: parse_grid_facets


Project Name: has2k1/plotnine
Commit Name: 4ee8f67612e87a6ece9c939ccac64901fc712c08
Time: 2017-09-21
Author: has2k1@gmail.com
File Name: plotnine/facets/facet_grid.py
Class Name:
Method Name: parse_grid_facets


Project Name: sloria/TextBlob
Commit Name: 7ef05274835b2272b1b431d3633d0559db684197
Time: 2015-06-08
Author: jschnurr@gmail.com
File Name: textblob/translate.py
Class Name: Translator
Method Name: _get_translation_from_json5


Project Name: sloria/TextBlob
Commit Name: 7ef05274835b2272b1b431d3633d0559db684197
Time: 2015-06-08
Author: jschnurr@gmail.com
File Name: textblob/translate.py
Class Name: Translator
Method Name: _get_language_from_json5