ところてん #536(2007/07/11 07:22 GMT) [ Python ] Rating0/0=0.00
1 2 3 4 5 6 7 8 9 10 11 12
-*- coding: utf-8 -*- import re def remove_comment(comment): print re.sub(r'/\*.*?((\*/)|($))','',comment, re.M) remove_comment('AAA') remove_comment('AAA/*BBB*/') remove_comment('AAA/*BBB') remove_comment('AAA/*BBB*/CCC') remove_comment('AAA/*BBB/*CCC*/DDD*/EEE') remove_comment('AAA/a//*BB*B**/CCC')
Rating0/0=0.00-0+
[ reply ]
ところてん
#536()
[
Python
]
Rating0/0=0.00
Rating0/0=0.00-0+
[ reply ]