A Tinderbox Reference File : Actions & Rules : Attribute = $1 (pattern extraction) |
Attribute = $1 (pattern extraction) |
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.
Up: Actions & Rules | |
Previous: AttributeA = $AttributeB( note/item/path ) | Next: Compound Actions |
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]