æ£è¦è¡¨ç¾â ã³ã³ãã¤ã«ããæ¹æ³ findall findallã¯è¦ã¤ãã£ãæååãå ¨ã¦ãªã¹ãã«ãã¦è¿ãã import re p = re.compile("ab.", re.I) result = p.findall("AbdABCAAbb") print result finditer match matchã¯å é ã®æååãããããããããããªãã¸ã§ã¯ããè¿ããä½ããããããªãæã¯Noneã import re p = re.compile("ab.", re.I) result = p.match("Abd") print result.group() scanner search searchã¯æååãããããããããããªãã¸ã§ã¯ããè¿ãã import re p = re.compile("ab.", re.I) result = p.search("xxxAbd") print
{{#tags}}- {{label}}
{{/tags}}