Resultados da pesquisa a pedido "non-greedy"
xpressão regular não gananciosa em Ja
Tenho o próximo código: public static void createTokens(){ String test = "test is a word word word word big small"; Matcher mtch = Pattern.compile("test is a (\\s*.+?\\s*) word (\\s*.+?\\s*)").matcher(test); while (mtch.find()){ for (int i = 1; ...
Página 2 do 2