diff --git a/src/lib.rs b/src/lib.rs index f52f1f4957..2dcdad2091 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -430,7 +430,7 @@ These classes are based on the definitions provided in [[:graph:]] graphical ([!-~]) [[:lower:]] lower case ([a-z]) [[:print:]] printable ([ -~]) -[[:punct:]] punctuation ([!-/:-@[-`{-~]) +[[:punct:]] punctuation ([!-/:-@\[-`{-~]) [[:space:]] whitespace ([\t\n\v\f\r ]) [[:upper:]] upper case ([A-Z]) [[:word:]] word characters ([0-9A-Za-z_])