On 10/08/2011 16:28, Graeme Geldenhuys wrote:
On 08/10/2011 05:21 PM, ik wrote:
Try this:
\{.*[^\}]\}
thanks for the quick response, but that doesn't seem to work either.
...
You left out the $ symbol after the first { symbol, but even so the
following still matches too much.
\{\$.*[^\}]\}
I also tried this...
\{\$.*[^\{]\}
without testing, from memory
All the above have
.* => any
then try to match ONE not "}"
So either use ( omit spaces, they are for readability)
\{ \$ .*? \}
or
\{ \$ [^ \} ]* \}
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus