f*cking re module
jwaixs
jwaixs at gmail.com
Mon Jul 4 06:37:02 EDT 2005
Thank you for your replies, it's much obvious now. I know more what I
can and can't do with the re module. But is it possible to search for
more than one string in the same line?
bv. I want to replace the <python> with " "
</python> with "\n" and every thing that's not between the two python
tags must begin with "\nprint \"\"\"" and end with "\"\"\"\n"? Or do I
need more than one call?
More information about the Python-list
mailing list