diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-03-31 13:46:57 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-03-31 13:46:57 +0100 |
commit | 4704ee4297fc4f5510421dea08965a83efa22397 (patch) | |
tree | 34eabcc692638c2c51346605d151aca5d03274ae /test | |
parent | 8a17010c05fefde3b5775586fa9b373549083cd3 (diff) | |
download | rspamd-4704ee4297fc4f5510421dea08965a83efa22397.tar.gz rspamd-4704ee4297fc4f5510421dea08965a83efa22397.zip |
Add some more SA and perl compat for regexps.
Diffstat (limited to 'test')
-rw-r--r-- | test/lua/unit/regxep.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lua/unit/regxep.lua b/test/lua/unit/regxep.lua index e33d20d43..04db54aa9 100644 --- a/test/lua/unit/regxep.lua +++ b/test/lua/unit/regxep.lua @@ -13,6 +13,7 @@ context("Regexp unit tests", function() {'/^test$/m', '123test', false}, {'m,test,', 'test', true}, {'m,test,', 'test123', false}, + {'m{https?://[^/?\\s]+?:\\d+(?<!:80)(?<!:443)(?<!:8080)(?:/|\\s|$)}', '', false}, {'/test/i', 'TeSt123', true}, {'/тест/i', 'ТесТ', true}, -- Raw regexp |