Regex not getting all results

  • Автор темы Автор темы bucheron
  • Дата начала Дата начала

bucheron

Client
Регистрация
01.12.2011
Сообщения
13
Реакции
0
Баллы
0
Hi

I'm trying to extract multiple elements from a page, let's say SERP.

I have of course tested the regex in the regex expression builder, and it's working fine.

I've got a problem :
If I don't put optional parameter for parsing, such as : {-RegExp.RegExp-|-{-FieldData.FieldData-|-●3●5●1●9●5●6●-|-≡8≡2≡0≡8≡2≡9≡8≡2≡-}-|-(?<=View details for\s)[^\"]+(?=\")-}, it doesn't return anything

If I put a list with 0;1;2;3;4 and so on the get all the match, it just returns two results.

Why ?

Thanks and have a nice day
 
put '-|-all' for the match number and it will return all results

{-RegExp.RegExp-|-{-FieldData.FieldData-|-●3●5●1●9●5●6●-|-≡8≡2≡0≡8≡2≡9≡8≡2≡-}-|-(?<=View details for\s)[^\"]+(?=\")-|-all-}
 
Thanks, works like a charm ! I love the support on this forum by the way :)
 

Кто просматривает тему: (Всего: 0, Пользователи: 0, Гости: 0)