LearnNewsExamplesServices
Frontmatter
id1723
titlemodel.Component: create a smarter data variables extraction regex
stateClosed
labels
enhancement
assigneestobiu
createdAtApr 4, 2021, 4:38 PM
updatedAtApr 4, 2021, 4:39 PM
githubUrlhttps://github.com/neomjs/neo/issues/1723
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtApr 4, 2021, 4:39 PM

model.Component: create a smarter data variables extraction regex

Closed v8.1.0 enhancement
tobiu
tobiu commented on Apr 4, 2021, 4:38 PM

the goal is:

  1. a data variable has to start with "data"
  2. it can contain 1 - infinity nested attributes, e.g. data.foo.bar
  3. it must not end with a function call, e.g. data.foo.bar.toLowerCase() should result in data.foo

Screenshot 2021-04-04 at 16 27 32

tobiu added the enhancement label on Apr 4, 2021, 4:38 PM
tobiu assigned to @tobiu on Apr 4, 2021, 4:38 PM
tobiu referenced in commit 3ed5466 - "model.Component: create a smarter data variables extraction regex #1723" on Apr 4, 2021, 4:38 PM
tobiu closed this issue on Apr 4, 2021, 4:39 PM