Skip to content

Conversation

danmou
Copy link

@danmou danmou commented Sep 18, 2019

No description provided.

@@ -45,7 +50,7 @@ server_option_value_not_changed() {
}

key_binding_not_set() {
local key="$1"
local key=$(escape_for_regex "$1")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think you need the escape_for_regex method. You can use bash expansions directly

local key="${key//\\/\\\\}"

@tpoliaw
Copy link

tpoliaw commented Apr 21, 2021

Any chance this could be merged? I'm having the same problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants