[Lazarus] Regex help needed please

Graeme Geldenhuys graemeg.lists at gmail.com
Wed Aug 10 17:28:23 CEST 2011


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 can try with Lazarus IDE's Find dialog. Just tick the "Regular
expression" checkbox, and untick everything else. My code uses the same
regex engine as Lazarus IDE does.

You left out the $ symbol after the first { symbol, but even so the
following still matches too much.

  \{\$.*[^\}]\}

I also tried this...

  \{\$.*[^\{]\}


still no luck.


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/





More information about the Lazarus mailing list