Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fine-tuned fix of errormarkerclass for nested arrays (#67 and #102)

Many thanks for the pull request, @flisky. The line you fixed was
indeed the line that caused problem. However, while the "g" flag is
indeed needed to support nested arrays, that was not enough to
produce the right output.

Typically, the goal is to generate something like "map[0][0].index"

The first two regular expressions turn the input into:

Just adding the "g" flag to the final regular expression woud not
really change anything in most cases, leading to:

The following "." should not have been part of the match, I added the
right lookahead pattern. That seems to work fine in the forms I tried.
latest commit 43f0e6c4f0
François Daoust authored
Something went wrong with that request. Please try again.