Help me on Backspace please
John Machin
sjmachin at lexicon.net
Fri Jun 27 04:09:23 EDT 2008
On Jun 27, 5:27 pm, cakomo <cak... at gmail.com> wrote:
> On Jun 27, 3:06 am, John Machin <sjmac... at lexicon.net> wrote:
> > new_line = re.sub(r'.\x08', old_line, '')
>
> > new_line = re.sub(r'[^\x08]\x08', '', old_line)
>
> Thanks John
> I will try it but, do you think regex replacement gonna erase the
> prev. char.?
Yair i think its gunna y do u ask?
More information about the Python-list
mailing list