assignment of regular expressions in ruby added