ShellManager: fix option regex, allow caps
This commit is contained in:
parent
d81a100a85
commit
20655f9290
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
namespace Kakoune
|
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()
|
ShellManager::ShellManager()
|
||||||
: m_regex(env_var_regex.begin(), env_var_regex.end())
|
: m_regex(env_var_regex.begin(), env_var_regex.end())
|
||||||
|
|
Loading…
Reference in New Issue
Block a user