Regex work in regex desginer, but in PM not?

aleksa77

Client
Регистрация
30.09.2011
Сообщения
914
Благодарностей
90
Баллы
28
I try change, put some simpliest code, but not, nothing. What i can do, to more test or change ?


Thanks
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 712
Баллы
113
That's only possible if you have different data to parse in PM.
Regular expressions are regular expressions. Their work only depends on your data.
 

Hungry Bulldozer

Moderator
Регистрация
12.01.2011
Сообщения
3 441
Благодарностей
834
Баллы
113
Could you attach/sent pm with sample data and regexp
 

avalongits

Новичок
Регистрация
14.02.2013
Сообщения
38
Благодарностей
0
Баллы
0
It happend to me also.

In RegExp Constructor everything works:


But running the debugger I had no results:


I did some trying but I can't understand where is the problem
 

avalongits

Новичок
Регистрация
14.02.2013
Сообщения
38
Благодарностей
0
Баллы
0
I got some problem with the images. excuse me. here's the first image
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 712
Баллы
113
Make sure you use Source, Text or Dom in both cases. And not 1 for regexp builder and other for PM
 

avalongits

Новичок
Регистрация
14.02.2013
Сообщения
38
Благодарностей
0
Баллы
0
Before, I tooke the source from te browser (chrome) and put into regexp constructor. In tab data I've tryed to take DOM, Source, Text.

Then I've copied the DOM directly from Action Recorder > Page Text > DOM ... and everything worked!

Thanks :-)
 

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