Change src_pattern config and related implement.

Use correspond resource pattern to every src reference file (ex. html, php etc)