[*] BO : Fixed regex typo

Noticed a regex typo when reviewing the code. I'm guessing the regex should map (anything)(.)(tpl or php), not (anything)(anything)(tpl or php)
Merge pull request #1384 from Ekman/1.6

[*] BO : Fixed regex typo