fix some bugs in RegExp class.
update copyright year.