fixed: set basic type for std::regex

the ecmascript one is weird and for some reason default (damn web hipsters)