From a995da1d5269fa6b8b71e2b5f6bdd4f4471db6fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Skowro=C5=84ski?= Date: Mon, 11 Mar 2019 08:46:38 +0100 Subject: [PATCH] new ubuntu style pattern for detectWowCommand --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 845b2d9..e0f2b46 100644 --- a/index.js +++ b/index.js @@ -46,7 +46,8 @@ function detectWowCommand(data) { 'command not found: wow', 'Unknown command \'wow\'', '\'wow\' is not recognized*', - '\'wow\'은\\(는\\) 내부 또는 외부 명령.*' + '\'wow\'은\\(는\\) 내부 또는 외부 명령.*', + '\'wow\' not found, did you mean:', ]; return new RegExp('(' + patterns.join(')|(') + ')').test(data) }