Hi i have this code:
if i found in res the string "pflist-reviewstars" i found this 53 time, same thing if i found for "<li class="pflist-address" i found 53 time.
But if i read with code i found only 5 time that is this first format:
Another 48 next i have this code in res that also if start with "pflist-reviewstars" and in end is "<li class="pflist-address" ISNT intercept.
The only different is in that have space ? or return ?
But in code i have ...Append(rx9.CharAny):
Any suggestion ?
Thank you
Marco
B4X:
Dim rx9 As RegexBuilder
rx9.Initialize.AppendEscaped($"pflist-reviewstars"$).Append(rx9.CharAny).AppendAtLeastOne.AppendEscaped($"<li class="pflist-address"$)
Dim mat9 As Matcher = Regex.Matcher(rx9.Pattern, res)
Dim i As Int = 0
Do While mat9.Find
Log(mat9.Match)
i = i + 1
Log("i: " & i )
Loop
if i found in res the string "pflist-reviewstars" i found this 53 time, same thing if i found for "<li class="pflist-address" i found 53 time.
But if i read with code i found only 5 time that is this first format:
pflist-reviewstars"><div class="pfrevstars-wrapper-review"> <div class="pfrevstars-review"><i class="pfadmicon-glyph-377"></i><i class="pfadmicon-glyph-377"></i><i class="pfadmicon-glyph-377"></i><i class="pfadmicon-glyph-377"></i><i class="pfadmicon-glyph-378"></i></div></div></li><li class="pflist-address"
Another 48 next i have this code in res that also if start with "pflist-reviewstars" and in end is "<li class="pflist-address" ISNT intercept.
pflist-reviewstars"><div class="pfrevstars-wrapper-review"><div class="pfrevstars-review pfrevstars-reviewbl">
<i class="pfadmicon-glyph-378"></i><i class="pfadmicon-glyph-378"></i><i class="pfadmicon-glyph-378"></i><i class="pfadmicon-glyph-378"></i><i class="pfadmicon-glyph-378"></i></div></div></li><li class="pflist-address"
The only different is in that have space ? or return ?
But in code i have ...Append(rx9.CharAny):
B4X:
rx9.Initialize.AppendEscaped($"pflist-reviewstars"$).Append(rx9.CharAny).AppendAtLeastOne.AppendEscaped($"<li class="pflist-address"$)
Any suggestion ?
Thank you
Marco