Liste des Groupes | Revenir à cl python |
Am Mon, Oct 07, 2024 at 08:35:32AM -0500 schrieb Michael F. Stemper via Python-list:That should be:
I'm trying to discard lines that include the string "\sout{" (which is TeX, forunwanted_tex = '\sout{'
those who are curious. I have tried:
if not re.search("\sout{", line):
if not re.search("\sout\{", line):
if not re.search("\sout{", line):
if not re.search("\sout\{", line):
if unwanted_tex not in line: do_something_with_libreoffice()
Les messages affichés proviennent d'usenet.