Help me on Backspace please

cakomo cakomo at gmail.com
Fri Jun 27 05:17:51 EDT 2008


On Jun 27, 11:09 am, John Machin <sjmac... at lexicon.net> wrote:
> 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?

Sorry John

Did i said i am a newbie still trying to figure out. But regex
statement is really  what i want. Thank you very much :)



More information about the Python-list mailing list