Estou com uma duvida, por que este código:
import java.util.regex.*;
public class Main {
public static void main(String[] args) {
Pattern p = Pattern.compile(args[0]);
Matcher m = p.matcher(args[1]);
boolean b = false;
while(b = m.find()){
System.out.print( m.group());
}
}
}
imprimi esta saida:
[telefone removido]quando entro com essa linha de comando:
java Main “\d*” “jk34a_09”
vlw