def get_share_dirname(url):
dirname_match = re.search('<STR_LIT>',<EOL>encoder.decode_uri_component(url))<EOL>if dirname_match:<EOL><INDENT>return dirname_match.group(<NUM_LIT:2>)<EOL><DEDENT>else:<EOL><INDENT>return None<EOL><DEDENT>
从url中提取出当前的目录