[Tutor] about RE + python
antonmuhin at rambler.ru
antonmuhin at rambler.ru" <antonmuhin@rambler.ru
Thu Mar 20 12:21:02 2003
Hello Abdirizak,
Thursday, March 20, 2003, 5:14:17 PM, you wrote:
Aa> lok at the last line processing is followed by fullstop, but Iwant to have
Aa> ...'processing', '.' ]
Aa> i.e quoted processing followed by quoted fullstop which also means toconside the full stop as separate token
Aa> thanks in advance
Try:
buf = re.compile(r"(?:[-a-zA-Z0-9]+)|\.")
--
Best regards,
anton mailto:antonmuhin@rambler.ru