Roberto Ierusalimschy
|
c8897f2b08
counter for gsub only when there is a table (to keep full compatibility)
|
28 years ago |
Roberto Ierusalimschy
|
b6adfdd01b
gsub aborts if error occurs.
|
28 years ago |
Roberto Ierusalimschy
|
f6d95140ae
using old version functions.
|
28 years ago |
Roberto Ierusalimschy
|
ea98620d98
new arguments for gsub
|
28 years ago |
Roberto Ierusalimschy
|
1848bcc15b
"strsub" accepts negative indices (count from the end of the string).
|
28 years ago |
Roberto Ierusalimschy
|
00050b8a6b
detail: local names
|
28 years ago |
Roberto Ierusalimschy
|
3a9516ffc8
luaL check functions do not need the function name (it can be
|
28 years ago |
Roberto Ierusalimschy
|
42fa305649
better error messages;
|
28 years ago |
Roberto Ierusalimschy
|
264f8c5e7b
new (internal?) functions to manipulate userdata
|
28 years ago |
Roberto Ierusalimschy
|
2de803c250
new header 'auxlib.h' + new function luaL_verror
|
28 years ago |
Roberto Ierusalimschy
|
eea734aa88
new module 'auxlib' centralizes functions to get/check parameters.
|
28 years ago |
Roberto Ierusalimschy
|
8b7f271ea2
new pattern item ".-";
|
28 years ago |
Roberto Ierusalimschy
|
1f4ee4a4d2
ANSI ctype only works for unsigned chars (or EOF)
|
29 years ago |
Roberto Ierusalimschy
|
78e454d864
BUG: ISO chars are negative, ISO ints are not.
|
29 years ago |
Roberto Ierusalimschy
|
2f19e0ba16
SunOS is not ANSI about the return value of "sprintf".
|
29 years ago |
Roberto Ierusalimschy
|
a1e41e3a12
small corrections in error messages
|
29 years ago |
Roberto Ierusalimschy
|
9d0044ce53
"strfind" has an extra parameter to turn off all special characteres.
|
29 years ago |
Roberto Ierusalimschy
|
3636bbad3a
new function "strrep"
|
29 years ago |
Roberto Ierusalimschy
|
c96ad1c945
"strmap" replaced by "strupper" and "strlower" (that's what people will
|
29 years ago |
Roberto Ierusalimschy
|
36dd1af92d
"[^]]" must mean "not ]".
|
29 years ago |
Roberto Ierusalimschy
|
25b6dae7c0
singlematch and item_end are used by "read", in iolib.
|
29 years ago |
Roberto Ierusalimschy
|
1630c2533a
Pattern-Matching!
|
29 years ago |
Roberto Ierusalimschy
|
29f0021837
variables which contain string lengths must be long (if they also may
|
29 years ago |
Roberto Ierusalimschy
|
3ec9ee0d0f
new function "luaI_openlib" to help open libs.
|
29 years ago |
Roberto Ierusalimschy
|
df1ee1fb1c
small "abstraction"
|
29 years ago |
Roberto Ierusalimschy
|
f1d0276684
small bug in strfind.
|
29 years ago |
Roberto Ierusalimschy
|
a275d9a25b
functions "lua_is..." consider coercions.
|
29 years ago |
Roberto Ierusalimschy
|
2fee7e42c9
new option 'q' in function "format".
|
29 years ago |
Roberto Ierusalimschy
|
f1a1eda7c5
old trick in "strsub" does not work with new hash table for strings.
|
29 years ago |
Roberto Ierusalimschy
|
801722825d
"lua_check_number" accepts strings convertible to numbers.
|
29 years ago |