Using POSIX regular expression