eliminate indirect syntact calling new()
add /x to regexes