First try with POSIX regex. Almost work correctly