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
{{ message }}
This repository was archived by the owner on Jul 29, 2024. It is now read-only.
Like the idea of exact binding, but my impression is that it would bind exactly
Say I have the following binding: {{ data_source.model.volts|number:2 }}
I would expect to use either "volts" or the whole binding expression.
Problem is that I also have: {{ data_source.model.volts_average|number:2 }}
Since exactBinding uses the following regex it matches both volts and volts_average var matcher = new RegExp('([^a-zA-Z\\d]|$)' + binding + '([^a-zA-Z\\d]|^)');
Thinking the following would make the most sense
by.binding - Using the simple contains search (also doesn't break anything)
by.exactBinding - Matches the whole binding, including the filter etc
by.regExBinding - Pass in a regular expression to match against
Be happy to send a pull request if others think this is a good idea