Sadly that pattern did not return any results for me.
The actual line i'm trying to parse is:
<td><a href="{~url}">{~name} - {name}{nick}</a></td>
I'm building a small custom template engine (mainly for experiance, but will be using it on my own projects), and its 90% there at the moment, this extract is from a 'loop' section, the ~ placeholders refer to a key in a specified array (which is specified at the start of the loop), the loops are all working, but I decided i'd like to use the static placeholders (without ~) inside loops also.
The static placeholders work fine outside 'loops', but inside the loop I need to obtain the placeholders name and then replace the contents.