You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've encountered an issue with the escaping of square brackets in RSyntaxTree 1.2.10, which I'm currently using for building syntax parse trees for multi-dimensional array references.
It seems that the parser is not correctly escaping the [ and ] characters. Here's the code that reproduces the issue:
Hi there,
I've encountered an issue with the escaping of square brackets in RSyntaxTree 1.2.10, which I'm currently using for building syntax parse trees for multi-dimensional array references.
It seems that the parser is not correctly escaping the
[
and]
characters. Here's the code that reproduces the issue:This will generate the following tree, which is incorrect:

By replace all

\[
and\]
with\(
and\)
, an expected tree could be generated:Any assistance or guidance would be greatly appreciated.
The text was updated successfully, but these errors were encountered: