D
dmtr
I need to print the regexp pattern text (SRE_Pattern object ) for
debugging purposes, is there any way to do it gracefully? I've came up
with the following hack, but it is rather crude... Is there an
official way to get the regexp pattern text?
-- Cheers, Dmitry
debugging purposes, is there any way to do it gracefully? I've came up
with the following hack, but it is rather crude... Is there an
official way to get the regexp pattern text?
"cre\n_compile\np0\n(S'^abc$'\np1\nI2\ntp2\nRp3\n."
-- Cheers, Dmitry