Commit Graph

44 Commits (7fc9e3a4c16b9511d2eb4877715157b16b7d5e1d)

Author SHA1 Message Date
Alexander Medvednikov 7ecbca345f
all: byte => u8 2022-04-17 12:14:27 +02:00
penguindark c3573454d1
regex: fix bug in replace_by_fn (#13344) 2022-02-02 10:52:18 +02:00
penguindark 7c1b249da0
regex: fix dot char problems on groups with * (#13333) 2022-02-01 13:49:37 +02:00
Benjamin Stigsen ceb05b163a
strings: rename Builder.write_b() to Builder.write_byte(), add deprecation (#13313) 2022-01-28 20:34:44 +02:00
penguindark 1ad4fbd841
regex: add a replace_n function (#13016) 2022-01-03 06:32:24 +02:00
penguindark 908296cdfb
regex: improve errors for edge cases (#13008)
* code cleaning, added more clear errors for dots and ORs

* added failed match index for better find functions, updated tests

* added index in match failed, updated tests

* test cleaning

* test check
2022-01-01 09:21:27 +02:00
penguindark dadc965082
regex: implement negation groups, more flexibility for bsls, small fixes (#12981)
* removed memory allocations in cleaning during clear calls

* first test implementation of negative groups, more flexibility for bsls

* fixed bsls failed tests

* fmt

* added \n to regex tests
2021-12-27 22:18:48 +02:00
penguindark 519ca90cfa
regex: added default support for long queries (#12635) 2021-12-01 08:38:50 +02:00
penguindark 47a2301139
regex: add OR error, if sourounded by char classes, and a test (#12278) 2021-10-24 11:54:51 +03:00
penguindark 0fafefc078
regex: bug fix on find groups indexes (#12152) 2021-10-12 06:03:23 +03:00
Xavier Noria 2533f06e1b
regex: define the predicate matches_string (#11422) 2021-09-07 07:01:23 +03:00
penguindark 438bdd1b0b
regex: fix #11404 (#11406) 2021-09-06 03:11:38 +03:00
penguindark 724942c4e6
regex: bug fixes (#11394) 2021-09-05 04:48:59 +03:00
penguindark fb3671107e
regex: bug fix about \w \W backslash chars (#11176) 2021-08-14 08:47:12 +03:00
penguindark 646c1e15e2
regex: fix a bug with find_all, fixes #10799 (#10801) 2021-07-14 22:20:05 +03:00
penguindark 1a324679b9
regex: added groups in replace strings (#9576) 2021-04-03 23:16:56 +03:00
penguindark 3b166d8327
regex: added less restrictive use of '-' in CC (#9484) 2021-03-27 18:15:06 +02:00
penguindark 59f95170b3
regex: bug fix in replace using function, added tests (#9381) 2021-03-20 01:54:12 +02:00
penguindark cc565b22a9
regex: remove [deprecated] functions/methods, code clean, add test for regex_base (#8862) 2021-02-20 21:39:08 +02:00
penguindark 443ae1d76e
regex: fix a bug in find and find_all (#7839) 2021-01-03 16:59:00 +01:00
penguindark 681ff3cc0d
regex: bug fix on .* cases (#7823) 2021-01-03 01:33:34 +01:00
penguindark a98adbb3a4
regex: fix a bug, update docs, explain the assumptions of the `regex` module (#7629) 2020-12-28 12:43:03 +02:00
penguindark 1b9d514275
regex: fix a bug #7559 (#7601) 2020-12-27 09:16:00 +02:00
penguindark 2824e07baa
regex: add a find_all_str function (#7517) 2020-12-24 07:27:46 +02:00
penguindark c9171ebe9a
regex: fixes and optimizations (#7431) 2020-12-21 05:36:14 +01:00
penguindark 1e4b3a7b27
regex: code cleaning, add more tests (#7402)
* added carsywulf tests to the suite, removed deprecated repeat for init arrays

* some clean in the code, fix typo in README.md
2020-12-19 01:32:57 +02:00
penguindark a6baffcb8c
regex: lots of fixes (#7380) 2020-12-18 05:57:31 +01:00
penguindark 9f190b82ad
regex: added rounded squares to backslash chars list, bug fix #7339 (#7346) 2020-12-15 16:04:06 +01:00
penguindark 4f986ccac4
regex: refactoring of continuous capturing groups (#7310) 2020-12-14 14:02:13 +01:00
penguindark 4324be9bd8
regex: fix for issue #7227, more tests (#7296) 2020-12-13 02:04:53 +01:00
penguindark 2bc1076921
regex: bug fixes, improved tests 2020-12-08 19:38:25 +01:00
penguindark 4fb37e81b2
regex: bug fixes (#7137) 2020-12-05 01:51:48 +01:00
Alexander Medvednikov cb43084e26 regex: fix compilation 2020-09-09 14:18:06 +02:00
Alexander Medvednikov ea31f75098 checker: more default field fixes 2020-09-09 14:14:44 +02:00
Maciej Obarski 2a4ef2acbd
regex: new options returning interface to the regex module (#6062) 2020-08-08 09:04:12 +03:00
Uwe Krüger fd4d28b7b6
tests: update for stricter type checks 2020-05-24 21:07:32 +02:00
yuyi 2f171bf5d9
regex: uniform const field names to snake_case 2020-05-21 23:33:51 +02:00
penguindark 48659f4145
regex: small fixes, '-' minus to char classes, remove all C.printf 2020-05-16 17:11:13 +02:00
Delyan Angelov 465f0ddf60 regex: fix unused variable warnings in regex_test.v 2020-05-15 18:50:54 +03:00
penguindark 5a2534122e regex: named capturing groups, small fixes 2020-01-28 20:34:11 +01:00
penguindark 36660ce749 regex: bug fixes, docs 2020-01-18 07:38:00 +01:00
penguindark 25fabac059 regex 0.9c 2020-01-16 00:39:33 +01:00
penguindark 25e7ceeef0 regex 0.9b 'replace' and 'find_all' added 2020-01-14 02:45:08 +01:00
penguindark 8ea0c08a38 vlib.regex module in pure V 2020-01-13 13:30:41 +01:00