add the function of showing the matched expression
add cookie function support.