robert wrote:
[...]
> but its also wrong regarding partial last lines.
> 
> re.split obviously doesn't understand \A \Z ^ $ and also \b etc. 
> empty matches.
> 
[...]
Or perhaps you don't understand re?

It's a tricky thing to start playing with. Look up re.MULTILINE ans 
re.DOTALL.

regards
  Steve
-- 
Steve Holden        +1 571 484 6266   +1 800 494 3119
Holden Web LLC              http://www.holdenweb.com/

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to