regexp
Fredrik Lundh
fredrik at pythonware.com
Tue Dec 19 14:22:12 EST 2006
More information about the Python-list mailing list
Tue Dec 19 14:22:12 EST 2006
- Previous message (by thread): Star-P Anyone?
- Next message (by thread): regexp
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
vertigo wrote:
> I need to use some regular expressions for more than one line.
> And i would like to use some modificators like: /m or /s in perl.
> For example:
> re.sub("<script.*>.*</script>","",data)
>
> will not cut out all javascript code if it's spread on many lines.
that won't cut out all javascript code period.
</F>
- Previous message (by thread): Star-P Anyone?
- Next message (by thread): regexp
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list