Polymer / tools

Polymer Tools Monorepo
BSD 3-Clause "New" or "Revised" License
430 stars 200 forks source link

Polymer databinding syntax allows [[[foo]]] #1543

Open rictic opened 7 years ago

rictic commented 7 years ago

If foo is 'x' then it evaluates to [x].

The analyzer's databinding parser does not handle this correctly and thinks that there's a parse error.

We should look into using Polymer core's regex.

TimvdLippe commented 7 years ago

I wonder if rewriting the regex in core to a simple statemachine is more durable. You have only a few states and a couple of special characters, so it could be highly optimized. Then you could share this state machine across the different projects to maintain parity.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.