about summary refs log tree commit diff stats
path: root/lib/quickjs/libregexp.c
Commit message (Collapse)AuthorAgeFilesLines
* fix bug in prev commitbptato2024-02-051-1/+1
| | | | it's 0, not 1 :(
* regex: fix 8-bit narrow strings in JSbptato2024-02-051-25/+39
| | | | | The previous approach to add UTF-8 support to libregexp was broken. This time, we use a separate flag (cbuf_len == 3) to indicate UTF-8 input.
* regexp: fixed the zero advance logic in quantifiers (github issue #158)Fabrice Bellard2024-01-111-72/+41
|
* fixed regexp case insensitive flagFabrice Bellard2024-01-111-56/+1
|
* Retrieve RegExp 'g' flag in spec conformant way (original patch by bnoordhuis)Fabrice Bellard2023-12-091-9/+14
|
* Add utf-8 support to libregexpbptato2023-07-041-6/+14
| | | | | | | This allows us to greatly simplify exec(Regex). In particular, we no longer have to convert any line containing non-ascii characters into UTF-16 (which was a significant inefficiency in regex search until now).
* Include QuickJS sources in the repositorybptato2023-06-221-0/+2610
Taken from txiki.js, so it includes zamofex's top-level await patch.