Static regular expression using c++11 templates.