support regex for sources
Merge pull request #3 from leeqiang/master

support regex for sources