aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/bindings/OnigurumaRegExp.cpp (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-12-17Delete Oniguruma (#1625)Gravatar Jarred Sumner 1-903/+0
* Update .gitmodules * Delete oniguruma * Delete Oniguruma * Make this test less flaky * :scissors: Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2022-11-27Fix crash in OnigurumaRegExp gettersGravatar Jarred Sumner 1-0/+6
2022-11-23Bun.deepEquals and expect().toEqual() (#1548)Gravatar Dylan Conway 1-64/+0
* all of deepEquals * remove comment, tests, move inline function
2022-11-21fix oniguruma regex character properties (#1528)Gravatar Dylan Conway 1-7/+62
* fix for character properties * cleanup tests * cleanup comments * i - 2 >= 0
2022-10-31fix for repeated regex match calls and fix for '^' in character classes (#1419)Gravatar Dylan Conway 1-105/+108
* tests and formatting * fix for ^ in character class * formatting * test for repeated match and exec calls * create oniguruma regex for each exec/test * check errorCode from creating oniguruma regexp and always return {} on failure * oops * call onig_initialize once * fix incorrect escaping, removed unnecessary oniguruma settings * tests for "-" and "^" in character classes * free regex object before returns * force gc for some tests
2022-10-28Upgrade WebKitGravatar Jarred Sumner 1-153/+152
2022-10-24oniguruma regex lookbehind and multibyte hex fix (#1363)Gravatar Dylan Conway 1-15/+115
* handle multibyte hex characters * non extended strings used for toString() and source * add hasIndices flags * more tests for lookbehinds, unicode, and hex characters * handled case when hex doesnt have enough digit, more tests * fix adding characters out of bounds * backslash in character class * compile() returns object * escape special characters in oniguruma character class
2022-10-17add oniguruma for regex with variable length lookbehinds (#1329)Gravatar Dylan Conway 1-0/+804
* added pcre2 submodule * pcre2 regex boilerplate * tests for pcre2 regex * flag validation, getters, construct and compile mostly working * string escaping for source and toString(), exec, more tests * flag sorting, match, matchAll, search, split, replace * remove lib link * add destructor to PCRE2RegExp * header include * removed ternary * switched to oniguruma for regex library * revert sql changes * fix indices flag, add tests * revert settings * working error messages * more tests for lastIndex, fix logic for compile and lastIndex * move oniguruma lib to deps out dir