Commit Graph

5 Commits

Author SHA1 Message Date
Jefferson González 3c64c32379
core: ported regex.gsub to faster native version (#1233)
* added regex.gmatch iterator and other fixes
* fixed issues reported by Guldoman
* push strings with fixed len just in case for binary safety
* added limit to regex.gsub and use pushinteger
* added description to regex.gsub limits param
* replaced substitutions regex description for correctness
* ignore negative limits on regex.gsub
2022-12-20 17:46:37 -04:00
Guldoman 9d48441685
Add `regex.find_offsets`, `regex.find`, improve `regex.match` (#1232)
`regex.match` now behaves like `string.match`.
This required changes in the `tokenizer` and in the `detectindent` 
plugin.
2022-12-11 22:25:42 -04:00
jgmdev 563fa7f29e docs api: minor corrections 2022-11-30 01:11:13 -04:00
jgmdev 900e9d1422 Namespaced aliases, virtual classes and added missing returns. 2021-07-09 18:33:25 -04:00
jgmdev bd50401687 Documented with EmmyLua the C API using .lua interface files. 2021-06-25 02:25:05 -04:00