多选题 Given:
2. import java.util.regex.*;
3. public class Decaf {
4. public static void main(String[] args)
5. Pattern p = Pattern.compile(args[0]);
6. Matcher m = p.matcher(args[1]);
7. while (m.find())
8. System.out.print(re.group() + " ");
9. } }
And the three command-line invocations:
Ⅰ. java Decaf "0([0-7])?" "1012 0208 430"
Ⅱ. java Decaf "0([0-7])*" "1012 0208 430"
Ⅲ. java Decaf "0([0-7])+" "1012 0208 430"
Which are true? (Choose all that apply.)
【正确答案】 A、E
【答案解析】