Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Splitting string that contains consecutive delimiters #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Mar 1, 2017

  1. Splitting string that contains consecutive delimiters

    Expected behavior:
    split("a SPLITSPLIT b", "SPLIT") ---> ["a ", "", " b"]
    Observed behavior:
    split("a SPLITSPLIT b", "SPLIT") ---> ["a ", "SPLIT b"]
    Within the loop in bsplitstrcb, i is sent too far forward
    upon finding a match. Here is a proposed fix including tests,
    open to suggestions. A few more details in the GH pull request.
    moltenform committed Mar 1, 2017
    Configuration menu
    Copy the full SHA
    9c2a2c4 View commit details
    Browse the repository at this point in the history