custom regex, updated dir listing

fdy.dy regex for testing file as dynamic
fdy.dytag regex for wrapping code
templates.DIR treated as dynamic