commit | 00cc658846e0a980a1a6cfa25c3fda3662b4b912 | [log] [tgz] |
---|---|---|
author | Shinichiro Hamaji <[email protected]> | Wed Jun 17 18:12:46 2015 +0900 |
committer | Shinichiro Hamaji <[email protected]> | Thu Jun 18 11:25:45 2015 +0900 |
tree | 8ffeca9545fb10489c7b9d29fa9fb967fb19faa9 | |
parent | 682b91cc45e3873ce74461a7590d9c75fe4f2a51 [diff] [blame] |
[C++] Implement findstring, filter, and filter-out
diff --git a/strutil.h b/strutil.h index b7d1147..66224e7 100644 --- a/strutil.h +++ b/strutil.h
@@ -72,6 +72,8 @@ void AppendSubstRef(StringPiece str, StringPiece pat, StringPiece subst, string* out); +bool MatchPattern(StringPiece str, StringPiece pat); + string NoLineBreak(const string& s); StringPiece TrimLeftSpace(StringPiece s);