Re: Trying to find regex for any script in an html source

2005-12-25 Thread 28tommy
Thank you all. -- http://mail.python.org/mailman/listinfo/python-list

Re: Trying to find regex for any script in an html source

2005-12-24 Thread Mike Meyer
28tommy [EMAIL PROTECTED] writes: Hi, I'm trying to find scripts in html source of a page retrieved from the web. I'm trying to use the following rule: match = re.compile('script [re.DOTALL]+ src=[re.DOTALL]+') I'm testing it on a page that includes the following source: script

Trying to find regex for any script in an html source

2005-12-21 Thread 28tommy
Hi, I'm trying to find scripts in html source of a page retrieved from the web. I'm trying to use the following rule: match = re.compile('script [re.DOTALL]+ src=[re.DOTALL]+') I'm testing it on a page that includes the following source: script language=JavaScript1.2

Re: Trying to find regex for any script in an html source

2005-12-21 Thread Mitja Trampus
28tommy wrote: Hi, I'm trying to find scripts in html source of a page retrieved from the web. I'm trying to use the following rule: match = re.compile('script [re.DOTALL]+ src=[re.DOTALL]+') I'm testing it on a page that includes the following source: script language=JavaScript1.2

Re: Trying to find regex for any script in an html source

2005-12-21 Thread Paul McGuire
28tommy [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I'm trying to find scripts in html source of a page retrieved from the web. I'm trying to use the following rule: match = re.compile('script [re.DOTALL]+ src=[re.DOTALL]+') snip 28tommy - pyparsing includes a