From 20655f929085cb7e00e7426c95ec01da927df77f Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Fri, 10 Aug 2012 18:47:18 +0200 Subject: [PATCH] ShellManager: fix option regex, allow caps --- src/shell_manager.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shell_manager.cc b/src/shell_manager.cc index a8d1d2df..18f7c896 100644 --- a/src/shell_manager.cc +++ b/src/shell_manager.cc @@ -6,7 +6,7 @@ namespace Kakoune { -String env_var_regex(R"(\$\{kak_([a-z0-9_]+)[^}]*\}|\$kak_([a-z0-9_]+))"); +String env_var_regex(R"(\$\{kak_(\w+)[^}]*\}|\$kak_(\w+))"); ShellManager::ShellManager() : m_regex(env_var_regex.begin(), env_var_regex.end())