Pattern matching
String patterns
You can use string patterns anywhere an expression function needs a name (such as a parameter or node name) to match multiple things at once.
| Matches any string. |
| Matches any single character. |
| Matches any of the characters between the square brackets. This does not support character ranges using a hyphen (you cannot do a-z). |
| Removes strings matching pattern from the previous match. |
| Matches object group, channel group, and/or bundle (depending on context). |
Examples:
| Matches everything beginning with “geo”. |
| Matches everything beginning with “geo” or “Geo”. |
| Matches everything that has any character followed by “eo” and then any number of characters. |
| Matches everything except the string “geo1”. |
Numeric patterns in the Group node
| Matches all points/primitives. |
| Matches a single number. |
| Matches all numbers in a range (inclusive). |
| Matches all numbers in a range, matching only every stepthe number. |
| Matches everything except pattern. |
| Removes numbers matching pattern from the previous match. |
Examples:
| Match numbers 10 through 20 (including 10 and 20). |
| Match every other number between 0 and 30 (0, 2, 4, 6, … 30). |
| Match every 2 of 3 numbers between 0 and 30 (0, 1, 3, 4, 6, 7, … 30). |
| Match everything except 3-5. |
| Match every other number between 0 and 100 except for numbers between 10 and 20. |
Notes
Separate multiple patterns with spaces. Commas are not allowed as separator characters.
