Commit Graph

24 Commits

Author SHA1 Message Date
54d8a33099 recompute ovecSlice
The first two entries are always PCRE2_UNSET, then there's 2*(capture_top-1). At least that's how I read https://www.pcre.org/current/doc/html/pcre2callout.html
2023-07-23 18:02:22 +00:00
d1b9df80a1 Fix panic when no substrings are found 2023-07-17 07:11:35 -07:00
bde850752d Move new types to the types.go file 2023-07-17 07:00:24 -07:00
bafc40da8a Run formatter 2023-07-17 06:46:47 -07:00
c6fb3e8489 Fix comment 2023-07-17 06:38:03 -07:00
23df260dfd Fix README badge 2023-07-17 06:37:39 -07:00
af322c4a52 Remove unneeded variable 2023-07-16 23:33:46 -07:00
4567dacf69 Clarify comment 2023-07-16 23:32:06 -07:00
709b261b4e Add doc comment to SetCallout function 2023-07-16 23:27:57 -07:00
23f1d484df Implement Callouts 2023-07-16 23:23:47 -07:00
daf2d2e697 Update domain 2023-04-20 20:02:33 -07:00
3b73d98c47 Add note about ReDoS to README 2022-05-30 13:55:50 -07:00
d9fa9bddda Prevent panic for zero-length input 2022-05-23 02:40:16 -07:00
13808e841e Add filesystem glob support 2022-05-21 15:20:29 -07:00
4630bc96b4 Return source if there are no matches in Replace* functions 2022-05-21 11:56:35 -07:00
06785bac1a Add names to ReplaceAll syntax 2022-05-21 11:45:30 -07:00
a937a67bab Fix memory leak and split CompileGlob into ConvertGlob 2022-05-21 11:40:09 -07:00
0a475038e1 Add hasOffset to PcreError 2022-05-20 20:53:52 -07:00
584b071162 Add darwin/{amd,arm}64 to supported systems 2022-05-20 20:13:14 -07:00
2f821cec7c Fix bug with FindAllSubmatch() and increase efficiency of slice conversions 2022-05-20 03:09:55 -07:00
e03c680213 Add glob conversion 2022-05-18 23:27:47 -07:00
9d969a1382 Add version function 2022-05-18 17:51:31 -07:00
e8909360ba Add documentation badge 2022-05-18 16:40:18 -07:00
406de00b82 Initial Commit 2022-05-18 16:28:40 -07:00