I've got my host.notes field populated with multi-line text similar to:
Code: Select all
Location:soma
Product:downloads
Purpose:www
I've got a tree rule that should be creating a 'soma' branch on the Location tree, but I can't seem to find a clean way to deal with the multi-line output.
My Matching pattern is currently:
and my Replacement pattern is:
But I end up with a tree leaf named:
Code: Select all
soma Product:downloads Purpose:www
If I update the matching pattern to explicitly check for product & purpose:
Code: Select all
^.*Location(.*?)\nProduct:.*\nPurpose:.*$
.. then it creates the right Tree branch, but if I expand the data I'm storing in the notes field, then I'll have to keep updating the notes field.
Any advice on how to more cleanly accomplish this?