Grep #tl6 - Wrong solution working

test should be failed when someone writes this code

else if (pattern[0] === "[" && pattern[pattern.length - 1] === "]") {
    return pattern.slice(1, pattern.length - 1).includes(inputLine);
  }

but you marked as even “concise” to that solution because your test case just testing as input “a” and pattern “[abc]”

Hi @atishay-aj, thanks for highlighting the issue! We’ll look into the test case and keep you updated once it’s fixed.

okay, sure.