def shape_regex(regex):
    """
    structure a regex to match properties values.
    for instance properties in neo4j have no word boundaries.
    :param regex: a classic regex
    :return: a version of regex compatible for cypher matching
    """
    return regex.replace('\\b', '').replace('.\\com', '\\.com').strip()