Beispiel #1
0
from env import Env
env = Env()

env.addParser( 
	"parser name",
	[ 
	  "rule"
	]
)
Beispiel #2
0
from env import Env
env = Env()

env.addParser( 
	"parser_home",
	[ 
	  "^http://www.gohappy.com.tw/$", 
	  "^http://www.gohappy.com.tw/intro/sitemap.html$"
	]
)
Beispiel #3
0
from env import Env
env = Env()

env.addParser("parser name", ["rule"])