Search found 5 matches

by BlueOne
Tue Dec 01, 2015 9:43 am
Forum: Data Extraction and Web Screen Scraping
Topic: REGEXP, Can not compile regular expression
Replies: 15
Views: 11926

Re: REGEXP, Can not compile regular expression

For this one, this is very cumbersome, 'EVAL()' is a way to use JavaScript in pure .iim Scripts, you are already in a JavaScript "Environment" because you are creating an .iim Script on the fly in a .js Script (which I already find cumbersome, some "clever" Kid created such a Script years ago and p...
by BlueOne
Tue Dec 01, 2015 9:32 am
Forum: Data Extraction and Web Screen Scraping
Topic: REGEXP, Can not compile regular expression
Replies: 15
Views: 11926

Re: REGEXP, Can not compile regular expression

To clarify the situation :D I wanted to adapt this imacros (.iim) for javascript (.js): SEARCH SOURCE=REGEXP:"De ([0-9]{1} [0-9]{3} [0-9]{3} €)" IGNORE_CASE=YES EXTRACT=$1 I simply had to replace " of the REGEX by \" So i finally succeed with this code: extract ="SEARCH SOURCE=REGEXP:...
by BlueOne
Mon Nov 30, 2015 7:46 pm
Forum: Data Extraction and Web Screen Scraping
Topic: REGEXP, Can not compile regular expression
Replies: 15
Views: 11926

Re: REGEXP, Can not compile regular expression

Hi chivracq, I update my post because your first solution was correct. I was too tired when i write my previous post... :roll: By the way i have a similar problem with a EVAL line maybe you could see what's the problem. I want to transform this imacros code in javascript: (it's work) SET !VAR1 EVAL(...
by BlueOne
Mon Nov 30, 2015 4:01 pm
Forum: Data Extraction and Web Screen Scraping
Topic: REGEXP, Can not compile regular expression
Replies: 15
Views: 11926

Re: REGEXP, Can not compile regular expression

Hello chivracq,

Thank you for your answer.
I add / before and after the REGEX and it works !
Thank you very much for your help.

For information my CIM is Imacros for Firefox 8.9.4 on Mac OS ;-)
by BlueOne
Sun Nov 29, 2015 3:46 pm
Forum: Data Extraction and Web Screen Scraping
Topic: REGEXP, Can not compile regular expression
Replies: 15
Views: 11926

Re: REGEXP, Can not compile regular expression

I have a similar problem but i didn't understand the Tech support's answer :-) This imacros code works: SEARCH SOURCE=REGEXP:"De ([0-9]{1} [0-9]{3} [0-9]{3} €)" IGNORE_CASE=YES EXTRACT=$1 I want to adapt it in a javascript and play it with the plugin of imacros in firefox. I tried few...