Bug: Unexpected end of string

Help
2011-03-06
2013-01-02
  • Andre-Littoz
    Andre-Littoz
    2011-03-06

    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?