{"id":3102,"date":"2013-06-16T13:36:02","date_gmt":"2013-06-16T04:36:02","guid":{"rendered":"http:\/\/apollo89.com\/wordpress\/?p=3102"},"modified":"2013-09-13T13:17:39","modified_gmt":"2013-09-13T04:17:39","slug":"%eb%b9%a0%eb%a5%b4%ea%b2%8c-%ed%99%9c%ec%9a%a9%ed%95%98%eb%8a%94-%ed%8c%8c%ec%9d%b4%ec%8d%ac-3-2-%ed%94%84%eb%a1%9c%ea%b7%b8%eb%9e%98%eb%b0%8d-10%ec%9e%a5-%eb%ac%b8%ec%9e%90%ec%97%b4%ec%9d%b4","status":"publish","type":"post","link":"https:\/\/apollo89.com\/wordpress\/?p=3102","title":{"rendered":"\ube60\ub974\uac8c \ud65c\uc6a9\ud558\ub294 \ud30c\uc774\uc36c 3.2 \ud504\ub85c\uadf8\ub798\ubc0d &#8211; 10\uc7a5 \ubb38\uc790\uc5f4\uc774\uc57c\uae30"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p><strong>Notice : \ud574\ub2f9 \uc790\ub8cc\uac00 \uc800\uc791\uad8c\ub4f1\uc5d0 \uc758\ud574\uc11c \ubb38\uc81c\uac00 \uc788\ub2e4\uba74 \ubc14\ub85c \uc0ad\uc81c\ud558\uaca0\uc2b5\ub2c8\ub2e4.<\/strong><\/p>\n<p><a href=\"http:\/\/blog.yes24.com\/lib\/adon\/View.aspx?blogid=2223538&#038;goodsno=6687985&#038;idx=16104&#038;ADON_TYPE=B&#038;regs=b\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/apollo89.com\/wordpress\/wp-content\/uploads\/2013\/05\/\ube60\ub974\uac8c-\ud65c\uc6a9\ud558\ub294-\ud30c\uc774\uc36c-3.2-\ud504\ub85c\uadf8\ub798\ubc0d-.jpeg\" alt=\"\ube60\ub974\uac8c \ud65c\uc6a9\ud558\ub294 \ud30c\uc774\uc36c 3.2 \ud504\ub85c\uadf8\ub798\ubc0d\" width=\"314\" height=\"400\" class=\"alignnone size-full wp-image-2296\" srcset=\"https:\/\/apollo89.com\/wordpress\/wp-content\/uploads\/2013\/05\/\ube60\ub974\uac8c-\ud65c\uc6a9\ud558\ub294-\ud30c\uc774\uc36c-3.2-\ud504\ub85c\uadf8\ub798\ubc0d-.jpeg 314w, https:\/\/apollo89.com\/wordpress\/wp-content\/uploads\/2013\/05\/\ube60\ub974\uac8c-\ud65c\uc6a9\ud558\ub294-\ud30c\uc774\uc36c-3.2-\ud504\ub85c\uadf8\ub798\ubc0d--235x300.jpeg 235w\" sizes=\"auto, (max-width: 314px) 100vw, 314px\" \/><\/a><br \/>\n<a href=\"http:\/\/blog.yes24.com\/lib\/adon\/View.aspx?blogid=2223538&#038;goodsno=6687985&#038;idx=16104&#038;ADON_TYPE=B&#038;regs=b\" target=\"_blank\">[\uad6c\ub9e4\ud558\uae30]<\/a><\/p>\n<p><a href=\"http:\/\/apollo89.com\/wordpress\/?p=2262\" target=\"_blank\">\ube60\ub974\uac8c \ud65c\uc6a9\ud558\ub294 \ud30c\uc774\uc36c 3.2 \ud504\ub85c\uadf8\ub798\ubc0d &#8211; 1\uc7a5 \ud30c\uc774\uc36c \uac1c\uc694 \ubc0f \uc124\uce58, 2\uc7a5 \uc790\ub8cc\ud615 \ubc0f \uc5f0\uc0b0\uc790<\/a><br \/>\n<a href=\"http:\/\/apollo89.com\/wordpress\/?p=2406\" target=\"_blank\">\ube60\ub974\uac8c \ud65c\uc6a9\ud558\ub294 \ud30c\uc774\uc36c 3.2 \ud504\ub85c\uadf8\ub798\ubc0d &#8211; 3\uc7a5 \ud568\uc218<\/a><br \/>\n<a href=\"http:\/\/apollo89.com\/wordpress\/?p=2409\" target=\"_blank\">\ube60\ub974\uac8c \ud65c\uc6a9\ud558\ub294 \ud30c\uc774\uc36c 3.2 \ud504\ub85c\uadf8\ub798\ubc0d &#8211; 4\uc7a5 \uc81c\uc5b4<\/a><br \/>\n<a href=\"http:\/\/apollo89.com\/wordpress\/?p=2411\" target=\"_blank\">\ube60\ub974\uac8c \ud65c\uc6a9\ud558\ub294 \ud30c\uc774\uc36c 3.2 \ud504\ub85c\uadf8\ub798\ubc0d &#8211; 5\uc7a5 \ud074\ub798\uc2a4 <\/a><br \/>\n<a href=\"http:\/\/apollo89.com\/wordpress\/?p=2439\" target=\"_blank\">\ube60\ub974\uac8c \ud65c\uc6a9\ud558\ub294 \ud30c\uc774\uc36c 3.2 \ud504\ub85c\uadf8\ub798\ubc0d &#8211; 6\uc7a5 \ubaa8\ub4c8 <\/a><br \/>\n<a href=\"http:\/\/apollo89.com\/wordpress\/?p=2666\" target=\"_blank\">\ube60\ub974\uac8c \ud65c\uc6a9\ud558\ub294 \ud30c\uc774\uc36c 3.2 \ud504\ub85c\uadf8\ub798\ubc0d &#8211; 7\uc7a5 \uc608\uc678\ucc98\ub9ac <\/a><br \/>\n<a href=\"http:\/\/apollo89.com\/wordpress\/?p=2927\" target=\"_blank\">\ube60\ub974\uac8c \ud65c\uc6a9\ud558\ub294 \ud30c\uc774\uc36c 3.2 \ud504\ub85c\uadf8\ub798\ubc0d &#8211; 8\uc7a5 \uc785\ucd9c\ub825 <\/a><br \/>\n<a href=\"http:\/\/apollo89.com\/wordpress\/?p=3102\" target=\"_blank\">\ube60\ub974\uac8c \ud65c\uc6a9\ud558\ub294 \ud30c\uc774\uc36c 3.2 \ud504\ub85c\uadf8\ub798\ubc0d &#8211; 10\uc7a5 \ubb38\uc790\uc5f4\uc774\uc57c\uae30 <\/a><br \/>\n<a href=\"http:\/\/apollo89.com\/wordpress\/?p=3108\" target=\"_blank\">\ube60\ub974\uac8c \ud65c\uc6a9\ud558\ub294 \ud30c\uc774\uc36c 3.2 \ud504\ub85c\uadf8\ub798\ubc0d &#8211; 11\uc7a5 \ub0a0\uc9dc\uc774\uc57c\uae30 <\/a><br \/>\n<a href=\"http:\/\/apollo89.com\/wordpress\/?p=3231\" target=\"_blank\">\ube60\ub974\uac8c \ud65c\uc6a9\ud558\ub294 \ud30c\uc774\uc36c 3.2 \ud504\ub85c\uadf8\ub798\ubc0d &#8211; 12\uc7a5 \uc22b\uc790\uc774\uc57c\uae30 <\/a><br \/>\n<a href=\"http:\/\/apollo89.com\/wordpress\/?p=3247\" target=\"_blank\">\ube60\ub974\uac8c \ud65c\uc6a9\ud558\ub294 \ud30c\uc774\uc36c 3.2 \ud504\ub85c\uadf8\ub798\ubc0d &#8211; 13\uc7a5 \ud30c\uc77c \uc2dc\uc2a4\ud15c\uc744 \uc790\uc720\uc790\uc7ac\ub85c <\/a><br \/>\n<a href=\"http:\/\/apollo89.com\/wordpress\/?p=3250\" target=\"_blank\">\ube60\ub974\uac8c \ud65c\uc6a9\ud558\ub294 \ud30c\uc774\uc36c 3.2 \ud504\ub85c\uadf8\ub798\ubc0d &#8211; 14\uc7a5 \ub370\uc774\ud130\ubca0\uc774\uc2a4<\/a><\/p>\n<p>\u25a3 10\uc7a5\t\ubb38\uc790\uc5f4 \uc774\uc57c\uae30<\/p>\n<p>10.1 \ubb38\uc790\uc5f4 \ub2e4\ub8e8\uae30<br \/>\n&#8211; str.capitalize() : \uccab\ubb38\uc790\ub97c \ub300\ubb38\uc790\ub85c<br \/>\n&#8211; str.count(keyworf, [start, [end]]) ; keyword\uac00 \uba87\ubc88 \ud3ec\ud568\ub418\uc5b4\uc788\ub294\uc9c0(start, end \ub294 \uc2ac\ub77c\uc774\uc2f1)<br \/>\n&#8211; str.encode([encoding, [errors]]) : \uc778\ucf54\ub529<br \/>\n&#8211; str.endswith(suffix[, start[, end]]) : \ubb38\uc790\uc5f4\uc774 suffix \uc73c\ub85c \ub05d\ub098\uba74 True<br \/>\n&#8211; str.expandtabs([tabsize]) : \ud15d\uc744 \uacf5\ubc31\uc73c\ub85c \uce58\ud658<br \/>\n&#8211; str.find(sub[, start[, end]]) : \ubb38\uc790\uc5f4\uc758 keyword\uac00 \ub098\ud0c0\ub098\ub294 \uccab\ubc88\uc9f8 \uc778\ub371\uc2a4 \ubc18\ud658, \ubabb\ucc3e\uc744 \uacbd\uc6b0 -1<br \/>\n&#8211; str.index(sub[, start[, end]]) : find() \uba54\uc18c\ub4dc\uc640 \ub3d9\uc77c, \ubabb\ucc3e\uc744 \uacbd\uc6b0 ValueError \uc608\uc678 \ubc1c\uc0dd<br \/>\n&#8211; str.isalnum() : \uc54c\ud30c\ubcb3\uacfc \uc22b\uc790\ub85c \uad6c\uc131 \ub418\uc5b4\uc788\uc73c\uba74 True<br \/>\n&#8211; str.isalpha() :  \uc54c\ud30c\ubcb3\uc73c\ub85c\ub9cc \uad6c\uc131 \ub418\uc5b4\uc788\uc73c\uba74 True<br \/>\n&#8211; str.islower() : \ubaa8\ub450 \uc18c\ubb38\uc790\uc774\uba74 True<br \/>\n&#8211; str.isspace() : \ubaa8\ub450 \uacf5\ubc31\ubb38\uc790\uc774\uba74 True<br \/>\n&#8211; str.istitle() : \ubaa8\ub4e0 \ubb38\uc790\uc5f4\uc774 title \uc2a4\ud0c0\uc77c\uc774\uba74 True(title \uc2a4\ud0c0\uc77c &#8211; \ub2e8\uc5b4\ub9c8\ub2e4 \uccab\uae00\uc790\uac00 \ub300\ubb38\uc790)<br \/>\n&#8211; str.isupper() : \ubaa8\ub450 \ub300\ubb38\uc790\uc774\uba74 True<br \/>\n&#8211; str.isdecimal(), str.isdigit() : \ubaa8\ub450 10\uc9c4\uc218\uc774\uba74 true<br \/>\n&#8211; str.isnumeric() : \uc22b\uc790\ub9cc\uc73c\ub85c \uad6c\uc131 \ub418\uc5b4\uc788\uc73c\uba74 True<br \/>\n&#8211; str.isidentifier() : \uc2dd\ubcc4\uc790\uc778 \uacbd\uc6b0\uc5d0 True(\uc2dd\ubcc4\uc790 &#8211; &#8216;a-z&#8217;\ub610\ub294 &#8216;A-Z&#8217;, &#8216;\uc22b\uc790&#8217; _ \ub85c \uad6c\uc131)<br \/>\n&#8211; str.isprintable() : \ud504\ub9b0\ud2b8\uac00 \uac00\ub2a5\ud55c \uacbd\uc6b0 True<br \/>\n&#8211; str.join(iterable) : \uc21c\ud658\uac00\ub2a5\ud55c \uc785\ub825\uc778 \uc2dc\ud000\uc2a4\ud615 \ubcc0\uc218\ub97c \uc9c0\uc815\ub41c \ubb38\uc790\uc5f4\ub85c \uc5f0\uacb0\ud574\uc11c \ubc18\ud658<br \/>\n&#8211; str.lower() : \ubaa8\ub4e0 \uc601\ubb38\uc790\ub97c \uc18c\ubb38\uc790\ub85c \ubcc0\ud658<br \/>\n&#8211; str.lstrip([chars]) : \ubb38\uc790\uc5f4\uc758 \uc67c\ucabd\uc744 \uc798\ub77c\ub0c4<br \/>\n&#8211; static str.maketrans(x[, y[, z]]) : translate() \ud568\uc218\uc5d0 \uc4f0\uc77c \ubc88\uc5ed\uc6a9 \ub9f5\uc744 \ubc18\ud658<br \/>\n&#8211; str.partition(sep) : \ubb38\uc790\uc5f4\uc744 sep\uc73c\ub85c \ub098\ub220\uc90c<br \/>\n&#8211; str.replace(old, new[, count]) : old\ub97c new \ub85c \ub300\uccb4<br \/>\n&#8211; str.rfind(sub[, start[, end]]) : \ubb38\uc790\uc5f4\uc744 \ub4a4\uc5d0\uc11c \ubd80\ud130 \uc870\uc0ac\ud574\uc11c sub\uac00 \ub098\ud0c0\ub098\ub294 \uccab\ubc88\uc9f8 \uc778\ub371\uc2a4\ub97c \ubc18\ud658. \ubabb\ucc3e\uc73c\uba74 -1<br \/>\n&#8211; str.rindex(sub[, start[, end]]) : rfind() \uba54\uc18c\ub4dc\uc640 \ub3d9\uc77c, \ubabb\ucc3e\uc744 \uacbd\uc6b0 ValueError \uc608\uc678 \ubc1c\uc0dd<br \/>\n&#8211; str.rpartition(sep) : \ubb38\uc790\uc5f4\uc744 \ub4a4\uc5d0\uc11c\ubd80\ud130 \uc870\uc0ac\ud574\uc11c sep\uc73c\ub85c \ub098\ub214, \ud29c\ud50c\ubc18\ud658<br \/>\n&#8211; str.rsplit(sep=None, maxsplit=-1) : \ubb38\uc790\uc5f4\uc744 \ub4a4\uc5d0\uc11c\ubd80\ud130 \uc870\uc0ac\ud574\uc11c sep\uc73c\ub85c \ub098\ub214<br \/>\n&#8211; str.rstrip([chars]) : \ubb38\uc790\uc5f4\uc758 \uc624\ub978\ucabd\uc744 \uc798\ub77c\ub0c4<br \/>\n&#8211; str.split(sep=None, maxsplit=-1) : \ubb38\uc790\uc5f4\uc744 \uc55e\uc5d0\uc11c\ubd80\ud130 \uc870\uc0ac\ud574\uc11c sep\uc73c\ub85c \ub098\ub214<br \/>\n&#8211; str.splitlines([keepends]) : \ub77c\uc778\uc73c\ub85c \ub418\uc5b4\uc788\ub294 \ubb38\uc790\uc5f4\uc744 \ubd84\ub9ac<br \/>\n&#8211; str.startswith(prefix[, start[, end]]) : prefix\uc73c\ub85c \ubb38\uc790\uc5f4\uc774 \uc2dc\uc791\ud558\uba74 True<br \/>\n&#8211; str.strip([chars]) : \ubb38\uc790\uc5f4\uc758 \uc591\ucabd \ub05d\uc744 \uc798\ub77c\ub0c4<br \/>\n&#8211; str.swapcase() : \uc18c\ubb38\uc790\ub294 \ub300\ubb38\uc790\ub85c, \ub300\ubb38\uc790\ub294 \uc18c\ubb38\uc790\ub85c \ubcc0\uacbd<br \/>\n&#8211; str.title() : title \uc2a4\ud0c0\uc77c\ub85c \ubcc0\ud658<br \/>\n&#8211; str.upper() : \ub300\ubb38\uc790\ub85c \ubcc0\ud658<\/p>\n<p><a href=\"http:\/\/docs.python.org\/3.3\/library\/stdtypes.html#string-methods\" target=\"_blank\">http:\/\/docs.python.org\/3.3\/library\/stdtypes.html#string-methods<\/a><\/p>\n<p>\uce74\uc774\uc0ac\ub974(caesar) \uc554\ud638\ubc95 \uc608\uc81c<\/p>\n<pre class=\"lang:python decode:true \" >SHIFT=1\r\n\r\ndef encrypt( raw ):\r\n    ret = ''\r\n    for char in raw:\r\n        ret+=chr( ord(char)+SHIFT )\r\n    return ret\r\n\r\ndef decrypt( raw ):\r\n    ret = ''\r\n    for char in raw:\r\n        ret+=chr( ord(char)-SHIFT )\r\n    return ret\r\n   \r\nif __name__==\"__main__\":\r\n    raw = input(\"input : \")\r\n    encrypted = encrypt( raw )\r\n    print(\"encrypted : \" + encrypted)\r\n   \r\n    decrypted = decrypt( encrypted )\r\n    print(\"decrypted : \" + decrypted)<\/pre>\n<p>10.2 \uc815\uaddc\ud45c\ud604\uc2dd(re) \ubaa8\ub4c8<\/p>\n<p>\ubb38\uc790\ub098 \ubb38\uc790\uc758 \ud328\ud134\uc744 \ub098\ud0c0\ub0b4\uae30 \uc704\ud55c \ud2b9\uc218\ubb38\uc790<br \/>\n. : \uac1c\ud589\ubb38\uc790\ub97c \uc81c\uc678\ud55c \ubb38\uc790 1\uc790<br \/>\n^ : \ubb38\uc790\uc758 \uc2dc\uc791<br \/>\n$ : \ubb38\uc790\uc758 \ub05d<br \/>\n[] : \ubb38\uc790\uc758 \uc9d1\ud569<br \/>\n| : or \uc5f0\uc0b0(\ub610\ub294)<br \/>\n() : \uc815\uaddc\uc2dd \uadf8\ub8f9<br \/>\n* : \ubb38\uc790\uac00 0\ud68c \uc774\uc0c1 \ubc18\ubcf5<br \/>\n+ : \ubb38\uc790\uac00 1\ud68c \uc774\uc0c1 \ubc18\ubcf5<br \/>\n? : \ubb38\uc790\uac00 0 \ub610\ub294 1\ud68c \ubc18\ubcf5<br \/>\n{m} : \ubb38\uc790\uac00 m\ud68c \ubc18\ubcf5<br \/>\n{m,n} : \ubb38\uc790\uac00 m\ud68c\uc5d0\uc11c n\ud68c\uae4c\uc9c0 \ubc18\ubcf5\ub418\ub294 \ubaa8\ub4e0\uacbd\uc6b0<br \/>\n{m.} : \ubb38\uc790\uac00 m\ud68c \uc774\uc0c1 \ubc18\ubcf5<\/p>\n<p>\uc790\uc8fc\uc0ac\uc6a9\ud558\ub294 \uc774\uc2a4\ucf00\uc774\ud504 \ubb38\uc790\uc5f4<br \/>\n\\w : \uc720\ub2c8\ucf54\ub4dc\uc5d0\uc11c _ \uc22b\uc790\ub97c \ud3ec\ud568\ud55c \ud45c\ud604\uac00\ub2a5\ud55c \ubb38\uc790\uc5f4 (ASCII\uc758 \uacbd\uc6b0 [a-zA-Z0-9_]\uc640 \ub3d9\uc77c)<br \/>\n\\W : \\w\ub97c \uc81c\uc678\ud55c \ub098\uba38\uc9c0 \ubb38\uc790(ASCII\uc758 \uacbd\uc6b0 [^a-zA-Z0-9_]\uc640 \ub3d9\uc77c)<br \/>\n\\d : [0-9] \ub97c \ud3ec\ud568\ud558\ub294 \ubaa8\ub4e0 \uc22b\uc790(ASCII\uc758 \uacbd\uc6b0 [0-9]\uc640 \ub3d9\uc77c)<br \/>\n\\D : \\d\ub97c \uc81c\uc678\ud55c \ub098\uba38\uc9c0 \ubb38\uc790(ASCII\uc758 \uacbd\uc6b0 [^0-9]\uc640 \ub3d9\uc77c)<br \/>\n\\s : \uacf5\ubc31\ubb38\uc790 (ASCII\uc758 \uacbd\uc6b0 [ \\t\\n\\r\\f\\v]\uc640 \ub3d9\uc77c)<br \/>\n\\S : \\s\ub97c \uc81c\uc678\ud55c \ub098\uba38\uc9c0 \ubb38\uc790(ASCII\uc758 \uacbd\uc6b0 [^ \\t\\n\\r\\f\\v]\uc640 \ub3d9\uc77c)<br \/>\n\\b : \ub2e8\uc5b4\uc758 \uc2dc\uc791\uacfc \ub05d\uc758 \ube48\uacf5\ubc31<br \/>\n\\B : \ub2e8\uc5b4\uc758 \uc2dc\uc791\uacfc \ub05d\uc774 \uc544\ub2cc \ube48\uacf5\ubc31<br \/>\n\\\\ : \uc5ed\uc2ac\ub798\uc2dc(\\)<br \/>\n\\[\uc22b\uc790] : \uc9c0\uc815\ub41c \uc22b\uc790\ub9cc\ud07c \uc77c\uce58\ud558\ub294 \ubb38\uc790\uc5f4<br \/>\n\\A : \ubb38\uc790\uc5f4\uc758 \uc2dc\uc791<br \/>\n\\Z : \ubb38\uc790\uc5f4\uc758 \ub05d<\/p>\n<p>&#8211; re.search(pattern, string, flags=0) : string \uc804\uccb4\uc5d0 \ub300\ud55c pattern \uc774 \uc874\uc7ac\ud558\ub294\uc9c0 \uac80\uc0ac\ud574 MatchObject \ubc18\ud658<br \/>\n&#8211; re.match(pattern, string, flags=0) : string\uc774 \uc2dc\uc791\ud558\ub294 \ubd80\ubd84\ubd80\ud130 pattern \uc774 \uc874\uc7ac\ud558\ub294\uc9c0 \uac80\uc0ac\ud574 MatchObject \ubc18\ud658<br \/>\n&#8211; re.split(pattern, string, maxsplit=0, flags=0) : pattern\uc744 \uad6c\ubd84\uc790\ub85c string\uc744 \ubd84\ub9ac<br \/>\n&#8211; re.findall(pattern, string, flags=0) : string \uc5d0\uc11c pattern\uc774 \ub9e4\uce6d\ub418\ub294 \ubaa8\ub4e0\uacbd\uc6b0\ub97c \ucc3e\uc544 \ub9ac\uc2a4\ud2b8\ub85c \ubc18\ud658<br \/>\n&#8211; re.finditer(pattern, string, flags=0) : string \uc5d0\uc11c pattern\uc774 \ub9e4\uce6d\ub418\ub294 \ubaa8\ub4e0 \uacbd\uc6b0\ub97c \ucc3e\uc544 \uc774\ud130\ub808\uc774\ud130 \uac1d\uccb4\ub85c \ubc18\ud658<br \/>\n&#8211; re.sub(pattern, repl, string, count=0, flags=0) : string \uc5d0\uc11c pattern\uc774 \ub9e4\uce6d\ub418\ub294 \ubd80\ubd84\uc5d0 \ub300\ud574 repl\uc73c\ub85c \ub300\uccb4 \ud574\uc11c \uacb0\uacfc\ubb38\uc790\uc5f4 \ubc18\ud658<br \/>\n&#8211; re.subn(pattern, repl, string, count=0, flags=0) : re.sub\uc640 \ub3d9\uc77c, \ub2e8, \uacb0\uacfc\ub97c \ud29c\ud50c\ub85c \ubc18\ud658<br \/>\n&#8211; re.escape(string) : \uc601\ubb38\uc790, \uc22b\uc790\uac00 \uc544\ub2cc\ubb38\uc790\uc5f4\uc5d0 \ub300\ud574 \ubc31\uc2ac\ub798\uc2dc \ubb38\uc790\ub97c \ucd94\uac00<br \/>\n&#8211; re.compile(pattern, flags=0) : pattern\uc744 \ucef4\ud30c\uc77c\ud574\uc11c \uc815\uaddc\ud45c\ud604\uc2dd \uac1d\uccb4\ub85c \ubc18\ud658<\/p>\n<p><a href=\"http:\/\/docs.python.org\/3.3\/library\/re.html#module-re\" target=\"_blank\">http:\/\/docs.python.org\/3.3\/library\/re.html#module-re<\/a><\/p>\n<p>Raw \ubb38\uc790\uc5f4 \ud45c\uae30\ubc95<br \/>\n\uc77c\ubc18\uc801\uc778\uacbd\uc6b0 \uc774\uc2a4\ucf00\uc774\ud504 \ubb38\uc790\ub97c \ud45c\ud604\ud558\uae30 \uc704\ud574\uc11c\ub294 \\\uc0ac\uc6a9.<br \/>\n\ubb38\uc790\uc5f4 \uc55e\uc5d0 r\uc744 \ubd99\uc5ec \\ \ucc98\ub9ac\ub97c \ud558\uc9c0 \uc54a\uace0 \uc77c\ubc18\ubb38\uc790\uc640 \ub3d9\uc77c\ud558\uac8c \ucc98\ub9ac<\/p>\n<p>greedy \ubc29\uc2dd\uacfc lazy \ubc29\uc2dd<br \/>\ngreedy \ubc29\uc2dd : \uc870\uac74\uc744 \ub9cc\uc871\ud558\ub294 \ud55c \uac00\uc7a5 \uae34 \ubb38\uc790\uc5f4 \uc120\ud0dd (.*)<br \/>\nlazy \ubc29\uc2dd : \uc870\uac74\uc744 \ub9cc\uc871\ud558\ub294 \ud55c \uac00\uc7a5 \uc9e7\uc740 \ubb38\uc790\uc5f4 \uc120\ud0dd (.*?)<\/p>\n<p>Match \uac1d\uccb4<br \/>\nsearch(), match() \uacb0\uacfc\ub85c \ubc18\ud658<br \/>\n&#8211; match.group([group1, &#8230;]) : \ub9e4\uce6d\ub41c \ubb38\uc790\uc5f4 \uacb0\uacfc\uc73c \u3163\ubd80\ubd84\uc9d1\ud569\uc744 \ubc18\ud658<br \/>\n&#8211; match.groups(default=None) : \ub9e4\uce6d\ud55c \uacb0\uacfc\ub97c \ud29c\ud50c\ub85c \ubc18\ud658<br \/>\n&#8211; match.groupdict(default=None) : \uc774\ub984\ubd99\uc5ec\uc9c4 \ub9e4\uce6d\uacb0\uacfc\ub97c \uc0ac\uc804\ud615\uc2dd\uc73c\ub85c \ubc18\ud658<br \/>\n&#8211; match.start([group]) : \ub9e4\uce6d\ub41c \uacb0\uacfc \ubb38\uc790\uc5f4\uc758 \uc2dc\uc791 \uc778\ub371\uc2a4\ub97c \ubc18\ud658<br \/>\n&#8211; match.end([group]) : \ub9e4\uce6d\ub41c \uacb0\uacfc \ubb38\uc790\uc5f4\uc758 \ub9c8\uc9c0\ub9c9 \uc778\ub371\uc2a4\ub97c \ubc18\ud658<\/p>\n<p><a href=\"http:\/\/docs.python.org\/3.3\/library\/re.html#match-objects\" target=\"_blank\">http:\/\/docs.python.org\/3.3\/library\/re.html#match-objects<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; Notice : \ud574\ub2f9 \uc790\ub8cc\uac00 \uc800\uc791\uad8c\ub4f1\uc5d0 \uc758\ud574\uc11c \ubb38\uc81c\uac00 \uc788\ub2e4\uba74 \ubc14\ub85c \uc0ad\uc81c\ud558\uaca0\uc2b5\ub2c8\ub2e4. [\uad6c\ub9e4\ud558\uae30] \ube60\ub974\uac8c \ud65c\uc6a9\ud558\ub294 \ud30c\uc774\uc36c 3.2 \ud504\ub85c\uadf8\ub798\ubc0d &#8211; 1\uc7a5 \ud30c\uc774\uc36c \uac1c\uc694 \ubc0f \uc124\uce58, 2\uc7a5 \uc790\ub8cc\ud615 \ubc0f \uc5f0\uc0b0\uc790 \ube60\ub974\uac8c \ud65c\uc6a9\ud558\ub294 \ud30c\uc774\uc36c 3.2 \ud504\ub85c\uadf8\ub798\ubc0d &#8211; 3\uc7a5 \ud568\uc218 \ube60\ub974\uac8c \ud65c\uc6a9\ud558\ub294 \ud30c\uc774\uc36c 3.2 \ud504\ub85c\uadf8\ub798\ubc0d &hellip; <a href=\"https:\/\/apollo89.com\/wordpress\/?p=3102\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[663,658],"tags":[236,1158,140],"class_list":["post-3102","post","type-post","status-publish","format-standard","hentry","category-python-","category-book-2","tag-236","tag-1158","tag-python"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\ube60\ub974\uac8c \ud65c\uc6a9\ud558\ub294 \ud30c\uc774\uc36c 3.2 \ud504\ub85c\uadf8\ub798\ubc0d - 10\uc7a5 \ubb38\uc790\uc5f4\uc774\uc57c\uae30 - Apollo89.com<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/apollo89.com\/wordpress\/?p=3102\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\ube60\ub974\uac8c \ud65c\uc6a9\ud558\ub294 \ud30c\uc774\uc36c 3.2 \ud504\ub85c\uadf8\ub798\ubc0d - 10\uc7a5 \ubb38\uc790\uc5f4\uc774\uc57c\uae30 - Apollo89.com\" \/>\n<meta property=\"og:description\" content=\"&nbsp; Notice : \ud574\ub2f9 \uc790\ub8cc\uac00 \uc800\uc791\uad8c\ub4f1\uc5d0 \uc758\ud574\uc11c \ubb38\uc81c\uac00 \uc788\ub2e4\uba74 \ubc14\ub85c \uc0ad\uc81c\ud558\uaca0\uc2b5\ub2c8\ub2e4. [\uad6c\ub9e4\ud558\uae30] \ube60\ub974\uac8c \ud65c\uc6a9\ud558\ub294 \ud30c\uc774\uc36c 3.2 \ud504\ub85c\uadf8\ub798\ubc0d &#8211; 1\uc7a5 \ud30c\uc774\uc36c \uac1c\uc694 \ubc0f \uc124\uce58, 2\uc7a5 \uc790\ub8cc\ud615 \ubc0f \uc5f0\uc0b0\uc790 \ube60\ub974\uac8c \ud65c\uc6a9\ud558\ub294 \ud30c\uc774\uc36c 3.2 \ud504\ub85c\uadf8\ub798\ubc0d &#8211; 3\uc7a5 \ud568\uc218 \ube60\ub974\uac8c \ud65c\uc6a9\ud558\ub294 \ud30c\uc774\uc36c 3.2 \ud504\ub85c\uadf8\ub798\ubc0d &hellip; Continue reading &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/apollo89.com\/wordpress\/?p=3102\" \/>\n<meta property=\"og:site_name\" content=\"Apollo89.com\" \/>\n<meta property=\"article:published_time\" content=\"2013-06-16T04:36:02+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2013-09-13T04:17:39+00:00\" \/>\n<meta name=\"author\" content=\"apollo89\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"apollo89\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/?p=3102#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/?p=3102\"},\"author\":{\"name\":\"apollo89\",\"@id\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/#\\\/schema\\\/person\\\/93f56825cac3b2f18e5f107995066c82\"},\"headline\":\"\ube60\ub974\uac8c \ud65c\uc6a9\ud558\ub294 \ud30c\uc774\uc36c 3.2 \ud504\ub85c\uadf8\ub798\ubc0d &#8211; 10\uc7a5 \ubb38\uc790\uc5f4\uc774\uc57c\uae30\",\"datePublished\":\"2013-06-16T04:36:02+00:00\",\"dateModified\":\"2013-09-13T04:17:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/?p=3102\"},\"wordCount\":384,\"commentCount\":0,\"keywords\":[\"\ub3c5\uc11c\",\"\uc2a4\ud130\ub514\",\"\ud30c\uc774\uc36c\"],\"articleSection\":[\"Python\\\/Ruby\\\/Perl\",\"Reading\"],\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/?p=3102#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/?p=3102\",\"url\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/?p=3102\",\"name\":\"\ube60\ub974\uac8c \ud65c\uc6a9\ud558\ub294 \ud30c\uc774\uc36c 3.2 \ud504\ub85c\uadf8\ub798\ubc0d - 10\uc7a5 \ubb38\uc790\uc5f4\uc774\uc57c\uae30 - Apollo89.com\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/#website\"},\"datePublished\":\"2013-06-16T04:36:02+00:00\",\"dateModified\":\"2013-09-13T04:17:39+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/#\\\/schema\\\/person\\\/93f56825cac3b2f18e5f107995066c82\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/?p=3102#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/?p=3102\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/?p=3102#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\\\/\\\/apollo89.com\\\/wordpress\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\ube60\ub974\uac8c \ud65c\uc6a9\ud558\ub294 \ud30c\uc774\uc36c 3.2 \ud504\ub85c\uadf8\ub798\ubc0d &#8211; 10\uc7a5 \ubb38\uc790\uc5f4\uc774\uc57c\uae30\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/#website\",\"url\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/\",\"name\":\"Apollo89.com\",\"description\":\"\uc544\ud3f4\ub85c\uc528\uc758 \uc7a1\ub2e4\ud55c \uacbd\ud5d8\ub4e4..\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/#\\\/schema\\\/person\\\/93f56825cac3b2f18e5f107995066c82\",\"name\":\"apollo89\",\"description\":\"\uc544\ud3f4\ub85c89 \uc785\ub2c8\ub2e4.\",\"url\":\"https:\\\/\\\/apollo89.com\\\/wordpress\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\ube60\ub974\uac8c \ud65c\uc6a9\ud558\ub294 \ud30c\uc774\uc36c 3.2 \ud504\ub85c\uadf8\ub798\ubc0d - 10\uc7a5 \ubb38\uc790\uc5f4\uc774\uc57c\uae30 - Apollo89.com","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/apollo89.com\/wordpress\/?p=3102","og_locale":"ko_KR","og_type":"article","og_title":"\ube60\ub974\uac8c \ud65c\uc6a9\ud558\ub294 \ud30c\uc774\uc36c 3.2 \ud504\ub85c\uadf8\ub798\ubc0d - 10\uc7a5 \ubb38\uc790\uc5f4\uc774\uc57c\uae30 - Apollo89.com","og_description":"&nbsp; Notice : \ud574\ub2f9 \uc790\ub8cc\uac00 \uc800\uc791\uad8c\ub4f1\uc5d0 \uc758\ud574\uc11c \ubb38\uc81c\uac00 \uc788\ub2e4\uba74 \ubc14\ub85c \uc0ad\uc81c\ud558\uaca0\uc2b5\ub2c8\ub2e4. [\uad6c\ub9e4\ud558\uae30] \ube60\ub974\uac8c \ud65c\uc6a9\ud558\ub294 \ud30c\uc774\uc36c 3.2 \ud504\ub85c\uadf8\ub798\ubc0d &#8211; 1\uc7a5 \ud30c\uc774\uc36c \uac1c\uc694 \ubc0f \uc124\uce58, 2\uc7a5 \uc790\ub8cc\ud615 \ubc0f \uc5f0\uc0b0\uc790 \ube60\ub974\uac8c \ud65c\uc6a9\ud558\ub294 \ud30c\uc774\uc36c 3.2 \ud504\ub85c\uadf8\ub798\ubc0d &#8211; 3\uc7a5 \ud568\uc218 \ube60\ub974\uac8c \ud65c\uc6a9\ud558\ub294 \ud30c\uc774\uc36c 3.2 \ud504\ub85c\uadf8\ub798\ubc0d &hellip; Continue reading &rarr;","og_url":"https:\/\/apollo89.com\/wordpress\/?p=3102","og_site_name":"Apollo89.com","article_published_time":"2013-06-16T04:36:02+00:00","article_modified_time":"2013-09-13T04:17:39+00:00","author":"apollo89","twitter_card":"summary_large_image","twitter_misc":{"\uae00\uc4f4\uc774":"apollo89","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"2\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/apollo89.com\/wordpress\/?p=3102#article","isPartOf":{"@id":"https:\/\/apollo89.com\/wordpress\/?p=3102"},"author":{"name":"apollo89","@id":"https:\/\/apollo89.com\/wordpress\/#\/schema\/person\/93f56825cac3b2f18e5f107995066c82"},"headline":"\ube60\ub974\uac8c \ud65c\uc6a9\ud558\ub294 \ud30c\uc774\uc36c 3.2 \ud504\ub85c\uadf8\ub798\ubc0d &#8211; 10\uc7a5 \ubb38\uc790\uc5f4\uc774\uc57c\uae30","datePublished":"2013-06-16T04:36:02+00:00","dateModified":"2013-09-13T04:17:39+00:00","mainEntityOfPage":{"@id":"https:\/\/apollo89.com\/wordpress\/?p=3102"},"wordCount":384,"commentCount":0,"keywords":["\ub3c5\uc11c","\uc2a4\ud130\ub514","\ud30c\uc774\uc36c"],"articleSection":["Python\/Ruby\/Perl","Reading"],"inLanguage":"ko-KR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/apollo89.com\/wordpress\/?p=3102#respond"]}]},{"@type":"WebPage","@id":"https:\/\/apollo89.com\/wordpress\/?p=3102","url":"https:\/\/apollo89.com\/wordpress\/?p=3102","name":"\ube60\ub974\uac8c \ud65c\uc6a9\ud558\ub294 \ud30c\uc774\uc36c 3.2 \ud504\ub85c\uadf8\ub798\ubc0d - 10\uc7a5 \ubb38\uc790\uc5f4\uc774\uc57c\uae30 - Apollo89.com","isPartOf":{"@id":"https:\/\/apollo89.com\/wordpress\/#website"},"datePublished":"2013-06-16T04:36:02+00:00","dateModified":"2013-09-13T04:17:39+00:00","author":{"@id":"https:\/\/apollo89.com\/wordpress\/#\/schema\/person\/93f56825cac3b2f18e5f107995066c82"},"breadcrumb":{"@id":"https:\/\/apollo89.com\/wordpress\/?p=3102#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/apollo89.com\/wordpress\/?p=3102"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/apollo89.com\/wordpress\/?p=3102#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/apollo89.com\/wordpress"},{"@type":"ListItem","position":2,"name":"\ube60\ub974\uac8c \ud65c\uc6a9\ud558\ub294 \ud30c\uc774\uc36c 3.2 \ud504\ub85c\uadf8\ub798\ubc0d &#8211; 10\uc7a5 \ubb38\uc790\uc5f4\uc774\uc57c\uae30"}]},{"@type":"WebSite","@id":"https:\/\/apollo89.com\/wordpress\/#website","url":"https:\/\/apollo89.com\/wordpress\/","name":"Apollo89.com","description":"\uc544\ud3f4\ub85c\uc528\uc758 \uc7a1\ub2e4\ud55c \uacbd\ud5d8\ub4e4..","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/apollo89.com\/wordpress\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Person","@id":"https:\/\/apollo89.com\/wordpress\/#\/schema\/person\/93f56825cac3b2f18e5f107995066c82","name":"apollo89","description":"\uc544\ud3f4\ub85c89 \uc785\ub2c8\ub2e4.","url":"https:\/\/apollo89.com\/wordpress\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/apollo89.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/3102","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/apollo89.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/apollo89.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/apollo89.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/apollo89.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3102"}],"version-history":[{"count":0,"href":"https:\/\/apollo89.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/3102\/revisions"}],"wp:attachment":[{"href":"https:\/\/apollo89.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3102"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/apollo89.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3102"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/apollo89.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3102"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}