diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-08-27 14:57:41 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-08-27 14:57:41 +0100 |
commit | 77c3dbff647cc8f07f46b66f4834f31c3052fa3b (patch) | |
tree | 696514ab0717d1b1beac827c89f3dc96431f7889 /src/lua/lua_regexp.c | |
parent | 3c496106133e429a6aadf853fa3f8bd0241a35e6 (diff) | |
download | rspamd-77c3dbff647cc8f07f46b66f4834f31c3052fa3b.tar.gz rspamd-77c3dbff647cc8f07f46b66f4834f31c3052fa3b.zip |
Update regexp documentation.
Diffstat (limited to 'src/lua/lua_regexp.c')
-rw-r--r-- | src/lua/lua_regexp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lua/lua_regexp.c b/src/lua/lua_regexp.c index 94971aada..0d95fee9c 100644 --- a/src/lua/lua_regexp.c +++ b/src/lua/lua_regexp.c @@ -244,7 +244,7 @@ lua_regexp_create_cached (lua_State *L) } /*** - * @function re:get_pattern() + * @method re:get_pattern() * Get a pattern for specified regexp object * @return {string} pattern line */ @@ -261,7 +261,7 @@ lua_regexp_get_pattern (lua_State *L) } /*** - * @function re:match(line) + * @method re:match(line) * Match line against regular expression object. If line matches then this * function returns the table of captured strings. Otherwise, nil is returned. * @@ -316,7 +316,7 @@ lua_regexp_match (lua_State *L) } /*** - * @function re:split(line) + * @method re:split(line) * Split line using the specified regular expression. * Breaks the string on the pattern, and returns an array of the tokens. * If the pattern contains capturing parentheses, then the text for each @@ -360,7 +360,7 @@ lua_regexp_split (lua_State *L) } /*** - * @function re:destroy() + * @method re:destroy() * We are not using `__gc` meta-method as it is usually good idea to have * compiled regexps to be stored permanently, so this method can be used * for avoiding memory leaks for temporary regexps |