é åãé£æ³é åããã£ã¹ããããã¼ãã«ã¨ãã¦å©ç¨ãã¦ããã¨ããã¼ã«æ£è¦è¡¨ç¾ã使ããããªãäºãããã¾ããperlã ã¨æ¢ã«Regexp::Assembleã¨ããã¢ã¸ã¥ã¼ã«ã使ãæ¹æ³ãæ¸ããã¦ãã¾ãããåã¯pythonã§æ¸ããã訳ã§ãã ã¢ããã¼ãã¯è²ã ããã¾ãããåã¯ããã¾ã§ãã£ã¹ããããã¼ãã«ã¨ãã¦å©ç¨ãããã®ã§ãdictã¯ã©ã¹ãç¶æ¿ãã¦ãªã¬ãªã¬è¾æ¸ã¯ã©ã¹ãä½ã£ã¦ã¿ãäºã«ãã¾ãããã§ãæ¸ãã¦ã¿ãã®ã以ä¸ã«ãªãã¾ãããããã¨çãããã ã®ã§ã¡ãã£ã¨æåãã¾ããã #!/usr/bin/python # -*- coding: utf-8 -*- import re class regex_dict(dict): def __init__(self, items=None): for key, val in items.items(): self.__setitem__(key, val) def
{{#tags}}- {{label}}
{{/tags}}