diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2014-01-14 17:25:20 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2014-01-14 17:25:20 +0000 |
commit | 53ff4acbf341b20b772bdd87d06fed30e0d1b28a (patch) | |
tree | af2481bf55255c92f40254b6350cf43847ffa3dd /plugins/Variables/src/parse_regexp.cpp | |
parent | 127744a38a4bad16aa1cbf20c3824345a9644c5a (diff) |
minor cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@7647 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Variables/src/parse_regexp.cpp')
-rw-r--r-- | plugins/Variables/src/parse_regexp.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/Variables/src/parse_regexp.cpp b/plugins/Variables/src/parse_regexp.cpp index 7f5bff1925..ee191f95fa 100644 --- a/plugins/Variables/src/parse_regexp.cpp +++ b/plugins/Variables/src/parse_regexp.cpp @@ -93,9 +93,8 @@ static TCHAR *parseRegExpSubstr(ARGUMENTSINFO *ai) return mir_tstrdup(_T(""));
}
-int registerRegExpTokens()
+void registerRegExpTokens()
{
- registerIntToken(_T(REGEXPCHECK), parseRegExpCheck, TRF_FUNCTION, LPGEN("Regular Expressions")"\t(x,y)\t"LPGEN("(ANSI input only) the number of substring matches found in y with pattern x"));
- registerIntToken(_T(REGEXPSUBSTR), parseRegExpSubstr, TRF_FUNCTION, LPGEN("Regular Expressions")"\t(x,y,z)\t"LPGEN("(ANSI input only) substring match number z found in subject y with pattern x"));
- return 0;
+ registerIntToken(REGEXPCHECK, parseRegExpCheck, TRF_FUNCTION, LPGEN("Regular Expressions")"\t(x,y)\t"LPGEN("(ANSI input only) the number of substring matches found in y with pattern x"));
+ registerIntToken(REGEXPSUBSTR, parseRegExpSubstr, TRF_FUNCTION, LPGEN("Regular Expressions")"\t(x,y,z)\t"LPGEN("(ANSI input only) substring match number z found in subject y with pattern x"));
}
\ No newline at end of file |