diff --git a/src/WattleScript.Interpreter/CoreLib/StringLib/KopiLua_StrLib.cs b/src/WattleScript.Interpreter/CoreLib/StringLib/KopiLua_StrLib.cs index 49518ea8..f6f28504 100644 --- a/src/WattleScript.Interpreter/CoreLib/StringLib/KopiLua_StrLib.cs +++ b/src/WattleScript.Interpreter/CoreLib/StringLib/KopiLua_StrLib.cs @@ -794,7 +794,7 @@ public static int str_gsub(LuaState L) /* maximum size of each formatted item (> len(format('%99.99f', -1e308))) */ public const int MAX_ITEM = 512; /* valid flags in a format specification */ - public const string FLAGS = "-+ #0"; + public const string FLAGS = "-+ #0'"; /* ** maximum size of each format specification (such as '%-099.99d') ** (+10 accounts for %99.99x plus margin of error)