eturned
>
> Is it a bug or something, please advice.
Consider where the 4-space tabstops are relative to those strings:
test test
testtest
^ ^ ^
So no, it's not a bug.
If you just want to replace the tab characters by spaces, use:
>>> " test\ttest&quo
xpected a character buffer object
>
> How do I blank out the initial numeric part so as to get just the
> alphabetic part. The string is always in the same format.
Firstly, you really should read the Regular Expression HOWTO:
http://docs.python.org/howto/regex.html#regex-howto
Secondly,
xps for quite a while
with no great success, I learnt the hard (and best) way, i.e. using
them to write something vile and horrible. [*] I commend this path to
you also. ;-)
Cheers,
Peter
[*] http://git.gpleda.org/?p=gaf.git;a=blob;f=libgeda/desktop-i18n;h=6fab9b85b
--
Peter Brett
Remote Sensing Research Group
Surrey Space Centre
--
http://mail.python.org/mailman/listinfo/python-list