diff --git a/cliutils.nim b/cliutils.nim index ec327f5..5f1b7ba 100644 --- a/cliutils.nim +++ b/cliutils.nim @@ -30,7 +30,7 @@ proc withColor*(str: string, color: TermColor, bright, bold, skipReset = false): proc stripAnsi*(str: string): string = - let STRIP_ANSI_REGEX = re"\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]" + let STRIP_ANSI_REGEX = re"\x1B\[([0-9]{1,2}(;[0-9]{0,2})?)?[m|K]" return str.replace(STRIP_ANSI_REGEX, "") diff --git a/cliutils.nimble b/cliutils.nimble index 71c089f..ba528a6 100644 --- a/cliutils.nimble +++ b/cliutils.nimble @@ -1,6 +1,6 @@ # Package -version = "0.10.0" +version = "0.10.1" author = "Jonathan Bernard" description = "Helper functions for writing command line interfaces." license = "MIT"