A Tinderbox Reference File : Agent Queries : $Attribute = $1 (in queries only) | aTbRef Site Map |
$Attribute = $1 (in queries only) |
You can combine a pattern query with an action that will use the value of the found pattern:
query: Text(email: <(.+)>)
action: $TheAddress=$1
...will set TheAddress attribute value to the pattern found in text.
NOTE: This syntax cannot be used outside the context of a query.
Up: Agent Queries | |
Previous: String Attributes - comparison operators | Next: Controlling Agent Update Cycle Time |
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]