Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
6064a12
Started adding string.find(), works without pattern
florentpoujol Oct 21, 2013
3d30cd7
Added string.gsub(), works without pattern
florentpoujol Oct 22, 2013
f7c0f42
Added luapattern_to_regex() and luareplacement_to_regex() functions
florentpoujol Oct 22, 2013
f47b0dd
Updated string.gsub() with patterns
florentpoujol Oct 22, 2013
8f00b4f
Added string.match() with patterns, is working
florentpoujol Oct 22, 2013
797937c
Added missing replacements to luapattern_to_regex()
florentpoujol Oct 22, 2013
dcdd1d5
Fixed string.match()
florentpoujol Oct 22, 2013
55ec5bd
Added patterns to string.find(), works OK
florentpoujol Oct 22, 2013
bb5cbe5
Added use of check_string() in string.find(), gsub() and match()
florentpoujol Oct 22, 2013
22e89c2
Started adding string.gmatch() and lua_gmatch_next()
florentpoujol Oct 22, 2013
05b3196
Fixed string.gmatch() and lua_gmatch_next(), works OK
florentpoujol Oct 23, 2013
e4bc685
Began updating string.format(), will use sprintf() bu need fork
florentpoujol Oct 25, 2013
c16087f
Fixed wrong index in string.find()
florentpoujol Oct 27, 2013
0889cd1
Added sprintf.js-lua.js inside string.format()
florentpoujol Oct 31, 2013
7c62d3b
Fixed some comments/indentation
florentpoujol Oct 31, 2013
d4e0ecb
Fixed two bugs in string.format() and string.find()
florentpoujol Nov 1, 2013
f8cd838
Moved lua_gmatch_next() inside string.gmatch() + moved luareplacement…
florentpoujol Nov 1, 2013
595e9cc
Fixed typo in os.clock()
florentpoujol Nov 1, 2013
dd14521
Fixed exception message in sprintf.format
florentpoujol Nov 1, 2013
72b2ff2
Fixed a bug preventing arrays to be looped upon by pairs().
florentpoujol Nov 4, 2013
7b9fb91
Fixed yesterday's fix (allow some arrays to be looped by pairs())
florentpoujol Nov 5, 2013
e4ab729
Fixed wrong behavior of string.gsub() + added support for functions a…
florentpoujol Nov 9, 2013
9c03024
Added support for escaped special characters in luapattern_to_js() f…
florentpoujol Nov 9, 2013
74c1809
lua_gmatch_next() now correctly returns the capture (if any in the pa…
florentpoujol Nov 9, 2013
19b309e
Fixed string.gsub() when the pattern must match at the end of th stri…
florentpoujol Nov 9, 2013
1649096
Made tonumber() return null instead of NaN, and made it return null w…
florentpoujol Nov 11, 2013
65c9443
Fixed string.gsub() when the pattern must match at the end of the str…
florentpoujol Nov 11, 2013
9abe406
Made string.match() return the correct match when there was a capture…
florentpoujol Nov 11, 2013
250f6a5
Prevented an error in tonumber() if e argument was not of type string
florentpoujol Nov 12, 2013
18fe311
Made ensure_arraymode() also work when table.uints is an object inste…
florentpoujol Nov 18, 2013
5576e80
Fixed style
florentpoujol Nov 30, 2013
84128cc
Fixed typo in type()
florentpoujol Dec 2, 2013
94225eb
Moved tonumber() code in separate function lua_tonumber()
florentpoujol Dec 2, 2013
8d2a4f1
Fixed base argument equality check in lua_tonumber()
florentpoujol Dec 3, 2013
b6ccb1d
Fixed equality checks in string.gmatch() and string.match()
florentpoujol Dec 3, 2013
99eed03
Added support for g and G format in string.format()
florentpoujol Dec 4, 2013
90e5c34
Fixed wrong behavior of o, x and X formats with negatives values in s…
florentpoujol Dec 4, 2013
5759c6f
Improved %p pattern in lua_pattern_to_regex(), made not supported pat…
florentpoujol Dec 4, 2013
a8be65d
Improved regexes to detect use of the hyphen quantifier in lua_patter…
florentpoujol Dec 9, 2013
40a581d
Added get_balanced_match() function + use in string.find()
florentpoujol Dec 9, 2013
69bc575
Made patterns not composed only of one balanced pattern unsupported
florentpoujol Dec 9, 2013
8dd9bca
Added support for balanced match in string.gsub()
florentpoujol Dec 9, 2013
4b3889e
Added support for balanced match in string.match()
florentpoujol Dec 10, 2013
7ccdc68
Improved string.find() : now returns the correct indexes as well as t…
florentpoujol Dec 10, 2013
1cae6c7
Fixed get_balanced_match() when there is more startChar than endChar …
florentpoujol Dec 10, 2013
24ee541
Added support for balanced match in string.gmatch()
florentpoujol Dec 10, 2013
7d8b1d4
Made capture index in patterns not supported
florentpoujol Dec 10, 2013
81e9644
Improved string.find() : added use of lua_tonumber() on index argumen…
florentpoujol Dec 11, 2013
a98bde5
Fixed missing bit in string.gmatch()
florentpoujol Dec 11, 2013
6f684d4
Improved string.gsub() : added use of lua_tonumber() fo n argument + …
florentpoujol Dec 11, 2013
f27c12b
Added use of lua_tonumber() in string.byte(), match(), rep() and sub()
florentpoujol Dec 11, 2013
809fccc
Removed "character classes between square brackets" from the unsuppor…
florentpoujol Dec 11, 2013
94757a7
Fixed returned value when string.find() don't find anything
florentpoujol Dec 11, 2013
6a75a5d
Fixed a wrong indentation
florentpoujol Dec 11, 2013
921c62b
Fixed string.byte()
florentpoujol Dec 27, 2013
48557e9
Fixed while() condition in string.byte()
florentpoujol Dec 27, 2013
e8278ef
Added tests for string functions
florentpoujol Dec 28, 2013
b3e10f2
Fixed string.gsub() when the replacement is a function that returns a…
florentpoujol Dec 28, 2013
3013379
string.gsub() now passes the correct argument(s) to the replacement f…
florentpoujol Dec 29, 2013
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading