#coding=utf-8
#内部类
class MyClass(object):
class InnerClass:
pass
# 正则表达式
# 通过re模块来访问
import re
m=re.search(r'foo','seafood')
print m
m.group()
print m
m=re.search(r'bar','seafood')
print m
#coding=utf-8
#内部类
class MyClass(object):
class InnerClass:
pass
# 正则表达式
# 通过re模块来访问
import re
m=re.search(r'foo','seafood')
print m
m.group()
print m
m=re.search(r'bar','seafood')
print m