mingodad
|
3879873511
Changed the return value of find_aux to be the start position instead of the end position.
|
před 13 roky |
mingodad
|
598d021ec0
Fix a bug on str_find_aux that causes infinite loop.
|
před 13 roky |
mingodad
|
47626cab1f
Fixed the return value of str_find to return -1 when not found, before it was returning 0.
|
před 13 roky |
mingodad
|
61e2976d78
Add new string function "find_lua" that uses the same code as in lua and has the same functionalities but uses a function to get the results.
|
před 13 roky |
mingodad
|
1142e5f27e
Added the my port of Lua regex and expose to strings as two new functions "gsub","gmatch" with near same functionality of string.gsub and string.gmatch from Lua.
|
před 13 roky |