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

116 Commits

Author SHA1 Message Date
penguindark
1de6523da5
regex: bugfix for #18363, [^\s]+ act different from \S+ (#18371) 2023-06-09 14:34:06 +03:00
Felipe Pena
dc16e50d55
regex: fix find() when using anchors (start / end) (#18259) 2023-05-25 10:51:41 +03:00
Turiiya
6e0204a614
regex: remove outdated examples in README.md (#17971) 2023-04-16 13:17:24 +03:00
Turiiya
489ac892b9
regex: fix formatting inconsistencies in README.md (#17940) 2023-04-13 14:44:45 +03:00
yuyi
467a1b4435
fmt: remove redundant parenthesis in the complex infix expr (#17873) 2023-04-04 13:47:48 +03:00
Alexander Medvednikov
6756d28595 all: 2023 copyright 2023-03-28 22:55:57 +02:00
penguindark
3d2d330478
regex: fix issue with multiple repetitions out of the groups (#17774) 2023-03-25 20:49:01 +02:00
Felipe Pena
17fe76368a
regex: fix simple char match (#17701) 2023-03-20 10:37:09 +02:00
yuyi
17000ef7b6
checker: check option fn returning error (fix #17423) (#17438) 2023-03-02 15:49:50 +02:00
Ahmad Yasser
cad2cd5583
docs: fix typos using codespell (#17332) 2023-02-16 11:43:39 +02:00
Makhnev Petr
c8c70de87d
docs: unify format of notes (#17294) 2023-02-13 10:29:02 +02:00
Swastik Baranwal
da68b2d369
checker: remove c.pref.is_test exception for calling private methods in _other_ modules (#16872) 2023-01-05 15:41:18 +02:00
Ikko Ashimine
e5e73ebbfa
regex: fix typo in regex.v (#16683) 2022-12-15 18:54:07 +02:00
Alexander Medvednikov
42a9eaac0e regex: make match_string() receiver immutable 2022-12-10 13:03:42 +03:00
yuyi
46bb62955b
cgen: fix generic array init with fields (#16601) 2022-12-06 09:33:26 +02:00
yuyi
017ace6ea7
vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
Swastik Baranwal
ca484430e0
checker: check int overflow for const vars (#16332) 2022-11-06 08:22:28 +03:00
Delyan Angelov
b52b8429d4
vfmt: implement support for // vfmt off and // vfmt on, with it, v fmt -w . now works. (#16335) 2022-11-05 09:08:01 +03:00
penguindark
eb0c46e13a
regex: fix for last group with OR inside (#16324) 2022-11-04 08:19:33 +02:00
penguindark
362adfae3a
regex: fix a bug for CC token not correctly parsed in groups (#16272) 2022-11-01 08:58:29 +02:00
Daniel Däschle
d679146a80
fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
penguindark
e93a8766e5
regex: fix #14370, last IST not managed in advance tests (#14372) 2022-05-12 11:49:57 +03:00
David 'Epper' Marshall
650fb493bd
regex: add split (#14329) 2022-05-08 15:21:39 +03:00
David 'Epper' Marshall
a91226c376
docs: cleanup (#14327) 2022-05-07 20:18:42 +03:00
Larpon
d799abd139
regex: rephrase doc string (#14159) 2022-04-25 16:03:13 +03:00
Alexander Medvednikov
fbb9e65c0f all: ~500 more byte=>u8 2022-04-15 18:25:45 +03:00
Alexander Medvednikov
fb192d949b all: replace []byte with []u8 2022-04-15 15:35:35 +03:00
Alexander Medvednikov
d4a0d6f73c all: byte => u8 2022-04-15 14:58:56 +03: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
jeffmikels
a60b381d5e
docs: adding skeleton README.md files for all vlib modules (#13034) 2022-01-05 18:06:08 +02:00
Alexander Medvednikov
59ed4be49a all: update copyright year 2022-01-04 12:21:12 +03: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
yuyi
108a01d65f
fmt: fix unnecessary line break in array init (fix #11448) (#11562) 2021-09-21 16:20:09 +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
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