I have uploaded a patch (MTAGLIST-15_PREVIEW3.patch) to MTAGLIST-15.  This 
patch adds support for ignoring the case of the todo match string during 
scanning.  It also adds support for regular expressions in the match string.

I'm still working on updating unit tests and documentation.  In the mean time 
can some of you please try out the patch and let me know if you find issues.  I 
would like someone to test out the ignore case functionality under different 
locales.  I'm using Java's "toLowerCase()" function, but I'm not sure if 
defaulting the Locale is the correct way to process the source strings.  (e.g.  
 Will the patch work when processing English locale sources file under another 
Locale?  Also, will it work in an English Locale when the source files are from 
another locale?)

You can generate the site documentation for the taglist plugin to get help on 
what to use in the tagListOptions configuration, but it currently does not have 
much detail.  Here is an example configuration:

<tagListOptions>
  <tagClasses>
    <tagClass>
      <displayName>Work to Complete</displayName>
      <tags>
        <tag>
          <matchString>todo</matchString>
          <matchType>ignoreCase</matchType>
        </tag>
        <tag>
          <matchString>fixme</matchString>
          <matchType>ignoreCase</matchType>
        </tag>
      </tags>
    </tagClass>
    <tagClass>
      <displayName>Version 1.x Work</displayName>
      <tags>
        <tag>
          <matchString>TODO v1.[1-9]+</matchString>
          <matchType>regEx</matchType>
        </tag>
      </tags>
    </tagClass>
  </tagClasses>
</tagListOptions>

There are three choices for matchType:  "exact", "ignoreCase", and "regEx".

Thanks for the help.

-Nate

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to