Changes between Initial Version and Version 1 of Ticket #5233, comment 4


Ignore:
Timestamp:
Mar 27, 2017, 8:47:32 AM (7 years ago)
Author:
Ryan J Ollos
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5233, comment 4

    initial v1  
    22We are monitoring configuration files in trac environment and this way I can get rid of the bunch of comments typically in a default configuration file.
    33
    4 Just wondering howto match a specific section in a typical trac.ini with regex. Is something like this possible?
     4Just wondering how to match a specific section in a typical trac.ini with regex. Is something like this possible?
    55
     6{{{
    67[[IncludeSource(trunk/proj/file.cpp,/^\[IniSection\],^\[.*\]],regex=true)]]
     8}}}
    79
    810This should define a start and an end line matched via regex. The last param is for compatibility reasons for the numbering.