$Attribute = $1 (in queries only)

Tinderbox Icon

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 

[Last updated: 5 Oct 2009, using v4.7.1]

Google search aTbRef for:  

Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]

Creative Commons License

Made with Tinderbox