String input = "Arline ate eight apples and one orange while Anita hadn't any";
String regex = "(?i)((^[aeiou])|(\\s+[aeiou]))\\w+?[aeiou]\\b"

Pattern p = Pattern.compile(regex);
Matcher m = p.matcher(input);
while (m.find())
System.out.println(m.group());输出:Arline
 ate
 one
 orange
 Anita这个正则 开始的时候(?i)什么意思哈,为什么开头没有i的也有输出?求分析