I added regular expression function ,i change getopt too...