Reg Ex help

don abhidon at
Thu May 11 19:39:13 CEST 2006

I have a string  from a clearcase cleartool ls command.

from /main/parallel_branch_1/release_branch_1.0/4

I want to write a regex that gives me the branch the file was
checkedout on ,in this case - 'dbg_for_python'

Also if there is a better way than using regex, please let me know.

Thanks in advance,

More information about the Python-list mailing list