2012-05-06から1日間の記事一覧

re.findall()

忘れるのでメモ。 Python 3.2 (r32:88452, Feb 20 2011, 11:12:31) [GCC 4.2.1 (Apple Inc. build 5664)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import re >>> re.findall("ab+", "ababaabb") ['ab', 'ab'…