regular expressions conversion fixes

fixed regular expressions having multiple "\" after conversion to
nestedtuple