! I'm using TextMate's regexp engine ! http://manual.macromates.com/en/regular_expressions ! ! I want to match each group of $subsection links ! So the first match should be: ! "{ $subsection os-env } ! { $subsection os-envs }" ! ! and the second match should be: ! "{ $subsection set-os-env } ! { $subsection unset-os-env } ! { $subsection set-os-envs }" ! ! Notice that the last match does not include the semi-colon. ! ! I don't need group capture. ! ! Thank you! "Reading environment variables:" { $subsection os-env } { $subsection os-envs } "Writing environment variables:" { $subsection set-os-env } { $subsection unset-os-env } { $subsection set-os-envs } ;