Code optimize
Support regex by URL.