added sys.isRegExp ()
Fixed comment