Update the source code 

1.add more information about the configuration 
2.fix a regrex expression bug