[Tutor] Using Regex to produce text

mhw at doctors.net.uk mhw at doctors.net.uk
Wed Apr 28 08:27:37 CEST 2010


Dear All,

Quick question:

Is there an way of using the regex patterns to produce text, instead of matching it?

E.g.:
pat = re.compile("ab?d")
pat.getListofPossibleText()

Thanks,

Matt


Sent from my BlackBerry® wireless device


More information about the Tutor mailing list