1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
Commit Graph

76 Commits

Author SHA1 Message Date
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
6771b7fea9
regex: added documentation about multiple dots syntax error (#11147) 2021-08-12 08:54:57 +03:00
penguindark
646c1e15e2
regex: fix a bug with find_all, fixes #10799 (#10801) 2021-07-14 22:20:05 +03:00
Delyan Angelov
4c22370635
regex: reformat README.md to use shorter lines 2021-05-17 14:40:22 +03:00
Delyan Angelov
8a380f4699
tools: make v test-cleancode test everything by default (#10050) 2021-05-08 13:32:29 +03:00
Enzo
4eb8072882
parser: remove ++/-- exception for some modules (#9895) 2021-04-27 01:41:42 +03:00
penguindark
f1bda88964
regex: bugfix out of bound with gcc "-fsanitize=address" (#9715) 2021-04-15 10:46:49 +03:00
penguindark
a016ac39c0
examples: change byteptr to &byte in sokol examples and regex (#9606) 2021-04-05 18:17:45 +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
zakuro
f54c1a5cc2
all: add strings.Builder.write_string and use write_string instead of write (#8892) 2021-02-22 13:18:11 +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
Nick Treleaven
4a0367a63c
vlib: add [unsafe] tag to more functions: tos, string_from_wide, strings.Builder: write_bytes, free (#8766) 2021-02-15 17:15:52 +02:00
Lukas Neubert
ac2c3847af
all: update copyright to 2019-2021 (#8029) 2021-01-18 13:20:06 +01:00
Nick Treleaven
3203a124b2
checker: warn when casting between reference types outside of unsafe (#7892) 2021-01-05 17:02:04 +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
b7f4e824df
regex: remove undocumented deprecated calls, optimize speed and memory usage (#7582) 2020-12-26 22:08:56 +02:00
penguindark
2824e07baa
regex: add a find_all_str function (#7517) 2020-12-24 07:27:46 +02:00
penguindark
4069a4c55d
regex: speed optimization 2 (#7473) 2020-12-22 22:34:46 +02:00
penguindark
b16052db95
regex: speed optimization (#7471) 2020-12-22 18:42:32 +02:00
penguindark
c9171ebe9a
regex: fixes and optimizations (#7431) 2020-12-21 05:36:14 +01:00
penguindark
b29bcb3fbe
regex: refactoring, documentation, examples (#7418) 2020-12-20 04:52:02 +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
Lukas Neubert
79a20c338b
regex: format readme examples (#7154) 2020-12-06 02:04:07 +01:00
Lukas Neubert
8adb1acf31
check-md: verify code example formatting (#7143) 2020-12-05 22:54:41 +01:00
penguindark
6b7d7cee0c
regex: new examples, new utility functions (#7150) 2020-12-05 22:24:08 +01:00
penguindark
4fb37e81b2
regex: bug fixes (#7137) 2020-12-05 01:51:48 +01:00
Delyan Angelov
52ccdd747f
cgen: allow for const ( x = opt() ? ) 2020-12-04 13:11:12 +02:00
Delyan Angelov
d0a2992335
regex: align query/regex err pos in optional err messages/panics 2020-12-04 12:43:25 +02:00
penguindark
15ffce1317
regex: fix compilation issues with gcc under ubuntu (#7112) 2020-12-03 19:33:53 +01:00
Delyan Angelov
7cd9530006 docs: fix most of the examples (ensure they at least have a valid syntax) 2020-11-27 13:03:32 +02:00
Takahiro Yaota
258f8f6af9
parser: report unused expression error in if and or blocks (#6953) 2020-11-26 00:28:41 +01:00
Lukas Neubert
df4165c7ee
docs_ci: check all md files except thirdparty (#6855) 2020-11-18 18:28:28 +01:00
Swastik Baranwal
5f07b255bd
checker: disallow address of array and map index outside unsafe (#6557) 2020-10-05 13:08:30 +02:00
Daniel Däschle
abc98c273c
parser: require assign on type alias (#6477) 2020-09-25 12:02:32 +02:00
Daniel Däschle
3a146a6dbe
checker: fix error pos on default value (#6338) 2020-09-09 15:34:41 +02: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