def simplify_regex(pattern):
    original_regex = admindocs.views.non_named_group_matcher
    admindocs.views.non_named_group_matcher = non_named_group_matcher
    result = admindocs.views.simplify_regex(pattern)
    admindocs.views.non_named_group_matcher = original_regex
    return result
Test _GetExternalPem().
dataset/ETHPy150Open potatolondon/djangae/djangae/contrib/security/commands_utils.py/simplify_regex--crossover with--dataset/ETHPy150Open google/simian/src/tests/simian/settings_test.py/FilesystemSettingsTest.testGetExternalPem