Menu

REGEX engine

Help
2008-04-18
2013-05-01
  • Laker Netman

    Laker Netman - 2008-04-18

    This probably belongs in the "General Discussion" forum, but seeing as all the posts are being made here...

    Which regex engine is being used? I'd like to know what parameters I can pass to it, and how. For example, I need to make both case-sensitive and insensitive matches. Some developers will be committing changes from Linux systems, and though they've been warned, some of them still occasionally differentiate files by case.

    Thanks,
    Laker

     
    • mmckechney

      mmckechney - 2008-04-21

      Laker,
      The .NET Regex engine is being used. I'll warn you though, as it is coded right now, I have set the matches to be case insensitive on the creation of the Regex object. There isn't a flag available not to be able to set it otherwise...

      I can add that to my TO DO list.

      Thanks,
      Mike

       
    • Laker Netman

      Laker Netman - 2008-04-23

      A parameter to handle case sensitivity (or a generic parameter to pass control values to the regex engine) would be helpful, but it's not critical for my use at the moment.

      Thanks,
      Laker

       
      • mmckechney

        mmckechney - 2008-06-16

        Laker,
        I have released a "Version 2.0" of the tool that has loads of changes and enhancements in it. I have included your request for a parameter for a case-sensitive Regex check. The parameter is RegexIgnoreCase and is an attribute to the <FileTypeTagCheck>, <FileTypeExclusion>, <FolderNameExclusion>, <CommitRequirement> and <PrePropChangeRequirement> elements.

        For full details, including upgrade instructions (there are some XML naming changes that will need to be made) please check out the project site at http://www.SubversionNotify.com and refer to the upgrade instructions, change log and manual links.

        If you have any questions, issues or suggestions, please do let me know!
        Thanks,
        Mike

         

Log in to post a comment.