> >> Now, trailing slashes are stripped, so the first two examples about give 
> >> ['arg1'], as does /a/c/f/arg1/////
>
> > Maybe that should be parsed as ['arg1', '', '', '', '']
>
> Maybe, but it seems to me that it's confusing unless we also recognize a 
> single trailing slash as an empty arg. I don't have a strong opinion.
>

Note that the number of empty strings ('') is one less than the number
of slashes:

/arg1/////
/arg1/empty/empty/empty/empty/nothing_here

Reply via email to