question on filters

Sandobe
2011-01-22
2013-04-29
  • Sandobe

    Sandobe - 2011-01-22

    Hi Green Development Team,

    Green project is awesome! thanks so much for all your hard work on this project. I have been looking for such tool in my past 10 years!

    I have just installed Green on eclipse 3.6.1, it is smooth and beautiful!

    However, I do have a question on filters feature. what is the correct Name Patter for filtering setter and getter method?  what kind of regular expression should be used for "Name "Pattern"? can you give me an example? Please help and million thanks!

     
  • Sandobe

    Sandobe - 2011-01-23

    any advice? Please help!

    ~Sandobe

     
  • Sandobe

    Sandobe - 2011-01-26

    hello, can anyone help, please?

    meanwhile, I am checkout the source code and see how it works

    - Sandobe

     
  • Carl Alphonce

    Carl Alphonce - 2011-01-26

    Hi,

    Sorry to take a few days to get back to you.  The filters use a regular-expression-like syntax.  For example, to filter out all methods that contain the string "All", you can set the name pattern to be:

      .*All.*

    . matches any single character
    .* matches any sequence of characters, length 0 or greater

    Does this help?

    Best,
    Carl

     
  • Sandobe

    Sandobe - 2011-01-28

    hi Carl,

    awesome! it works greatly. thanks for the hard work!

    - Sandobe

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks