Only match a placeholder when both [] brackets are present.
Suppose format string: ls_format = %s [%T] The result would be: Test todo item [just now The final bracket is missing, because it was matched as part of the placeholder. This change will only match the closing bracket when the opening bracket is also present.
Showing
Please register or sign in to comment