updated regex

Added MacOS ls -l output support
Added option -s support
fixed year in node_set_time

tm_year is the number of years since 1900.