regex scanner question
Roman Suzi
rnd at onego.ru
Wed Jun 27 11:57:46 EDT 2001
On Wed, 27 Jun 2001, Emile van Sebille wrote:
Ok, now it is clear:
static PyMethodDef pattern_methods[] = {
{"match", (PyCFunction) pattern_match, METH_VARARGS|METH_KEYWORDS},
{"search", (PyCFunction) pattern_search, METH_VARARGS|METH_KEYWORDS},
{"sub", (PyCFunction) pattern_sub, METH_VARARGS|METH_KEYWORDS},
{"subn", (PyCFunction) pattern_subn, METH_VARARGS|METH_KEYWORDS},
{"split", (PyCFunction) pattern_split, METH_VARARGS|METH_KEYWORDS},
{"findall", (PyCFunction) pattern_findall,
METH_VARARGS|METH_KEYWORDS},
/* experimental */
{"scanner", (PyCFunction) pattern_scanner, METH_VARARGS},
{NULL, NULL}
};
Thus, scanner method is experimental!
I hope, it will do it into production.
Sincerely yours, Roman Suzi
--
_/ Russia _/ Karelia _/ Petrozavodsk _/ rnd at onego.ru _/
_/ Wednesday, June 27, 2001 _/ Powered by Linux RedHat 6.2 _/
_/ "No sense being pessimistic. It wouldn't work anyway." _/
More information about the Python-list
mailing list