Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: typo

...

The weaveById allows you to manipulate the roteroute, for example by replacing a node with other nodes. The following methods is available:

...

Wiki Markup
The {{weaveByToString}} also allows you to manipulate the route, for example by replacing a node with other nodes. As opposed to {{weaveById}}, this method uses the {{toString}} representation of the node(s) when matching. This allows you to match nodes, which may not have assigned ids, or to match [EIP] pattern.
You have to be a bit more careful when using this as the {{toString}} representation can be verbose and contain characters such as \[ \] ( ) \-> and so forth. That is why using the regular expression matching is the must useable.

...

Notice that we have to use ".*foo.*" in the pattern to match that "foo" is present anywhere in the string.

...