ShellManager: fix option regex, allow caps

This commit is contained in:
Maxime Coste 2012-08-10 18:47:18 +02:00
parent d81a100a85
commit 20655f9290

View File

@ -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())