re.findall(a patern,'function(dsf sdf sdf)')

2008-07-26 Thread gcmartijn
H! First I have some random string below. bla = script type=text/javascript // ![CDATA[ var bla = new Blaobject(argh 1a, argh 2a, 24, 24, 345) function la( tec ) { etc etc }

Re: re.findall(a patern,'function(dsf sdf sdf)')

2008-07-26 Thread Lie
On Jul 26, 5:03 pm, [EMAIL PROTECTED] wrote: H! First I have some random string below. bla =          script type=text/javascript                 // ![CDATA[                 var bla = new Blaobject(argh 1a, argh 2a, 24, 24, 345)                 function la( tec )                 {    

Re: re.findall(a patern,'function(dsf sdf sdf)')

2008-07-26 Thread gcmartijn
In short, the regular expression you used doesn't seem to be an effort to solve the problem. In other words, you haven't read the regular expression docs:http://docs.python.org/lib/module-re.html. In other words, it's useless to talk with you until then. Its a combination - I don't

Re: re.findall(a patern,'function(dsf sdf sdf)')

2008-07-26 Thread Fredrik Lundh
[EMAIL PROTECTED] wrote: - For me its hard to learn the re , I will try to search again at google for examples and do some copy past things. this might be useful when figuring out how RE:s work: http://kodos.sourceforge.net/ also, don't forget the following guideline: Some people,

Re: re.findall(a patern,'function(dsf sdf sdf)')

2008-07-26 Thread gcmartijn
On 26 jul, 14:25, Fredrik Lundh [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: - For me its hard to learn the re , I will try to search again at google for examples and do some copy past things. this might be useful when figuring out how RE:s work:      http://kodos.sourceforge.net/