Roberto Ierusalimschy
|
f4eed60ca9
better treatment of integer formats in string.format
|
16 years ago |
Roberto Ierusalimschy
|
cbf0c7a103
check for invalid use of '%' in replacement string in 'string.gsub'
|
16 years ago |
Roberto Ierusalimschy
|
b1203e036d
'posrelat' avoids problems with -(-2^31)
|
17 years ago |
Roberto Ierusalimschy
|
24359ae294
'string.find' cannot find things after subject's end
|
17 years ago |
Roberto Ierusalimschy
|
788506dd58
detail
|
17 years ago |
Roberto Ierusalimschy
|
c06cc60946
BUG: 'gsub' may go wild when wrongly called without its third
|
18 years ago |
Roberto Ierusalimschy
|
7a78495f31
avoid problems with 'ptrdiff_t'
|
18 years ago |
Roberto Ierusalimschy
|
d62a21b9d3
when formatting with '%q', all control characters are coded
|
18 years ago |
Roberto Ierusalimschy
|
93d3c8450c
bug: string.format("%") reads past the string
|
19 years ago |
Roberto Ierusalimschy
|
a7c9e45c64
avoid trailing white spaces
|
19 years ago |
Roberto Ierusalimschy
|
ee41bc03ab
details
|
19 years ago |
Roberto Ierusalimschy
|
fe8f4c06f1
detail (better error message for invalid format)
|
19 years ago |
Roberto Ierusalimschy
|
8487913697
BUG: option '%q' for string.format does not handle '\r' correctly
|
19 years ago |
Roberto Ierusalimschy
|
bfdcbbcd76
small optimizations (lua_newtable -> lua_createtable)
|
19 years ago |
Roberto Ierusalimschy
|
428325baec
detail
|
19 years ago |
Roberto Ierusalimschy
|
9fbefdf69c
integer formats in 'string.format' may need to operate with larger-than-int
|
19 years ago |
Roberto Ierusalimschy
|
88f9843eee
better error message
|
20 years ago |
Roberto Ierusalimschy
|
62367dda44
string.gsub accepts a table as the replacement value
|
20 years ago |
Roberto Ierusalimschy
|
ed7039024d
avoid some warnings
|
20 years ago |
Roberto Ierusalimschy
|
bf96d3fdd9
'string.find' as it was in 5.0
|
20 years ago |
Roberto Ierusalimschy
|
3390f9a35a
detail
|
20 years ago |
Roberto Ierusalimschy
|
5e8a9e324c
luaL_openlib -> luaL_register, luaL_putchar -> luaL_addchar
|
20 years ago |
Roberto Ierusalimschy
|
894cd31c52
#string is primitive
|
20 years ago |
Roberto Ierusalimschy
|
280f7becb8
"%0" stands for the whole pattern (in gsub)
|
20 years ago |
Roberto Ierusalimschy
|
80ac5e83fd
details (alphabetical order for list of functions)
|
20 years ago |
Roberto Ierusalimschy
|
8efb44b5e0
changes in 'string.find' and 'string.gfind' (new 'string.match' and
|
20 years ago |
Roberto Ierusalimschy
|
90de38bf1f
warnings in VS .Net
|
20 years ago |
Roberto Ierusalimschy
|
f21e9c172f
details
|
20 years ago |
Roberto Ierusalimschy
|
67578ec51f
several small details
|
20 years ago |
Roberto Ierusalimschy
|
c2bb9abcec
better quotes for strings in error messages
|
20 years ago |