aboutsummaryrefslogtreecommitdiff
path: root/test/bun.js/oniguruma-regexp.test.ts (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-12-17Delete Oniguruma (#1625)Gravatar Jarred Sumner 1-860/+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-30fix slow regex testsGravatar Dylan Conway 1-20/+26
2022-11-21fix oniguruma regex character properties (#1528)Gravatar Dylan Conway 1-0/+46
* fix for character properties * cleanup tests * cleanup comments * i - 2 >= 0
2022-11-09Add bun-types, add typechecking, add `child_process` types (#1475)Gravatar Colin McDonnell 1-106/+121
* Add bun-types to packages * Improve typing * Fix types in tests * Fix dts tests * Run formatter * Fix all type errors * Add strict mode, fix type errors * Add ffi changes * Move workflows to root * Add workflows * Remove labeler * Add child_process types * Fix synthetic defaults issue * Remove docs * Move scripts * Run prettier * Include examples in typechecking * captureStackTrace types * moved captureStackTrace types to globals * Address reviews Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu> Co-authored-by: Dylan Conway <dylan.conway567@gmail.com>
2022-10-31fix for repeated regex match calls and fix for '^' in character classes (#1419)Gravatar Dylan Conway 1-43/+239
* 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-24oniguruma regex lookbehind and multibyte hex fix (#1363)Gravatar Dylan Conway 1-9/+223
* 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-19PrettierGravatar Jarred Sumner 1-319/+346
2022-10-17add oniguruma for regex with variable length lookbehinds (#1329)Gravatar Dylan Conway 1-0/+356
* 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