Bug: Unexpected end of string

  • Andre-Littoz

    In C, C++ or Perl, if a string contains an escaped delimiter, e.g. "abc\"def" or 'abc\'def' SimpleParse ends the string on the escaped delimiter and the rest of the text is out of sync.

    I have a correction for this bug, but since I'll work at large for the next few days, I have no time to copy it now.

    There is a similar potential mis-sync with the test for opening fragment delimiter: pattern is /^open$/. This is faulty since $open contains a sequence of alternatives, which means only the first alternative starts at the beginning and the last ends at the end.

    I have also the correction to this.

    Stay tuned, I'll post them as soon as possible.

    By the way, does anybody knows how to register a bug?