- bool match=false;
- for(list<string>::const_iterator j=patterns.begin(); (j!=patterns.end() && !match); ++j)
- match=Regex(*j).match(*i);
- for(list<string>::const_iterator j=excludes.begin(); (j!=excludes.end() && match); ++j)
- match=!Regex(*j).match(*i);
+ bool match = false;
+ for(list<string>::const_iterator j = patterns.begin(); (j!=patterns.end() && !match); ++j)
+ match = Regex(*j).match(*i);
+ for(list<string>::const_iterator j = excludes.begin(); (j!=excludes.end() && match); ++j)
+ match = !Regex(*j).match(*i);