I tested it out to the same html, but the capture only contain single element. The captured group is there (only one), but seems to be mixed with the first element.
capture supposed to have capture as the whole match and capture as the captured group.
But it now only has capture, with the content capture concat with capture. Seem the list separation is not working.
I tried again with the example from the same thread http://automagic4android.com/forum/view ... 878#p18595
Code: Select all
a = "1a2b3c"; x = "5x7y8z"; capturea = findAll(a,"(\\d).(\\d).(\\d).",true); //capture 3 capturex = findAll(x,"(?:\\d).(\\d).(\\d).",true); //capture only 2 lena = length(capturea); lenx = length(capturex); i = "1a2b3c\n5x7y8z"; capturei = findAll(i,"(?:\\d).(\\d).(\\d).",true); //capture only 2 leni = length(capturei);
capturea = [[1a2b3c, 1, 2, 3]]
caputerx = [[5x7y8z, 7, 8]]
lena = 1
lenx = 1
capturei = [[1a2b3c, 2, 3], [5x7y8z, 7, 8]]
leni = 2
It seems the list separation messed up. I think that capturea should have 4 elements, capturea is whole group, capturea = 1, capturea = 2, capturea = 3.
But instead it only has single element, combine all the elements text. lena is 1 confirm that.
capturex also the same, the non-capturing group works perfectly. It is only the list messed up.
for capturei, the idea of multiline seems to be OK, it has 2 elements (leni = 2). So we have list inside of list (listception ). I expect that capturei to access the first capturing group from first line.
Additional bug that I forgot last time. When I search from main menu (magnifying glass), the text that I type in the search, doesn't show up, but it is filtering.
So maybe the color of the text is the same with the background.