Sujet : Re: The joy of FORTRAN
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.os.linux.misc alt.folklore.computersDate : 28. Sep 2024, 00:33:57
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vd7fd4$tdq8$9@dont-email.me>
References : 1 2 3 4 5 6 7 8 9
User-Agent : Pan/0.160 (Toresk; )
On Fri, 27 Sep 2024 11:32:05 +0100, Kerr-Mudd, John wrote:
You need Rexx
Try this in Rexx:
import re
for item in re.split(r"[\;\,\-\?]", "the;quick-brown?fox") :
print(item)
#end for
Output:
the
quick
brown
fox