Lstrip to empty string

Merged Bitbucket Importer requested to merge bitbucket/merged-pr-531 into branch/default

Created originally on Bitbucket by natebragg (Nate Bragg)

Was already merged in Bitbucket before import, marked as merged by the import user

  • Failing test showing that lstrip doesn`t consume a whole string.

  • If possible, make lstrip consume the whole string.

    Previously, it would not consume the final character even if it matched, because rpos pointed to the final index.

Merge request reports