diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2014-10-13 13:12:33 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2014-10-13 13:14:23 +0100 |
| commit | fa85f0fc32b105bef5948585a7d7a38c2910854b (patch) | |
| tree | 62df5d4c99b3ae89274c848895fa94445f870edb /src/hook_manager.cc | |
| parent | b6f2b872b003639e3a596a2e4a1b817529ebd729 (diff) | |
Refactor regex uses, do not reference boost except in regex.hh
Diffstat (limited to 'src/hook_manager.cc')
| -rw-r--r-- | src/hook_manager.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hook_manager.cc b/src/hook_manager.cc index 7d804696..cfade4d7 100644 --- a/src/hook_manager.cc +++ b/src/hook_manager.cc @@ -2,6 +2,7 @@ #include "context.hh" #include "debug.hh" +#include "regex.hh" namespace Kakoune { @@ -50,7 +51,7 @@ void HookManager::run_hook(const String& hook_name, for (auto& hook : hook_list_it->second) { if (not hook.first.empty() and not disabled_hooks.empty() and - boost::regex_match(hook.first, disabled_hooks)) + regex_match(hook.first, disabled_hooks)) continue; try |
