[Tutor] Simply Regular Expression or Matching question ?

Graeme Andrew graemea@xtra.co.nz
Sat Jan 18 06:38:02 2003


Hi Folks ...

I am trying to parse some source code that includes some delimited text in
the form of {abcd ...} ... ie text delimited by curly brackets.  I am
reading  in each line of source code and need a list of all occurences of
this for all lines.

Is there a simple 're' that will return all occurences of the text between
the curly brackets as descibed above ? ...(or do I even need to use 're' )

Any help most appreciated !

Cheers
Graeme Andrew
Kiwi