Pythonã¯æååãUnicodeã§æ±ããã¨ãã§ãããããæ£è¦è¡¨ç¾ã«ããã¦ãæ¥æ¬èªãæ£ããæ±ããã¨ãã§ãããPython 2ã§ã¯å¦çæã«ãã¿ã¼ã³ã¨å ¥åæååã®ä¸¡æ¹ãUnicodeæååã«ãã¦ããå¿ è¦ãããã Unicodeã®ã³ã¼ãã«ããæå®ãè¡ããã¨ã«ãããã³ã¼ãç¯å²ã«ããæ¤ç´¢ãè¡ããã¨ãã§ããã ä¸ã¯å¯¾è©±ã¢ã¼ãã§ã®ãã¹ãä¾ãã<_sre.SRE_Match objectããåºã¦ããã¨ãã«ä¸è´ãã¦ããã Python 3ã®å ´å: >>> import re >>> re.search ('[ã-ã]', 'test') (ã²ãããªãç¡ãã®ã§ä¸è´ãããä½ã表示ãããªã) >>> re.search ('[ã-ã]', 'testã¦ãã¨test') <_sre.SRE_Match object; span=(4, 5), match='ã¦'>Python 2ã®å ´å: >>> import r
{{#tags}}- {{label}}
{{/tags}}