Skip to content

[k2] add f$preg_split to runtime-light#1451

Merged
Shamzik merged 70 commits intomasterfrom
kshamazov/pcre_functions
Dec 11, 2025
Merged

[k2] add f$preg_split to runtime-light#1451
Shamzik merged 70 commits intomasterfrom
kshamazov/pcre_functions

Conversation

@Shamzik
Copy link
Copy Markdown
Contributor

@Shamzik Shamzik commented Oct 30, 2025

The goal is to support the preg_split function in a light runtime.

Specified it with noexcept().

@Shamzik Shamzik self-assigned this Oct 30, 2025
@Shamzik Shamzik added the k2 Affects compiler or runtime in K2 mode label Oct 30, 2025
@Shamzik Shamzik marked this pull request as ready for review November 1, 2025 14:13
Copy link
Copy Markdown
Contributor

@apolyakov apolyakov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

General comments:

  1. Please, don't use std:: for integral types like size_t, int32_t etc
  2. Please, add noexcept specifiers to all the functions
  3. Please, think carefully about symbols names and visibility

@Danil42Russia Danil42Russia added this to the next milestone Nov 5, 2025
@Shamzik Shamzik force-pushed the kshamazov/pcre_functions branch from 5f70ac4 to 25cda02 Compare November 7, 2025 14:34
Copy link
Copy Markdown
Contributor Author

@Shamzik Shamzik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are fixes of preg_match_all and preg_replace

Need to separate

@Shamzik Shamzik force-pushed the kshamazov/pcre_functions branch from 0f95d17 to cc4cc52 Compare November 10, 2025 13:05
@Shamzik Shamzik requested a review from apolyakov November 12, 2025 09:20
@Shamzik Shamzik requested a review from apolyakov November 25, 2025 09:57
@Shamzik Shamzik force-pushed the kshamazov/pcre_functions branch 2 times, most recently from 36a4b88 to 375e746 Compare December 1, 2025 11:03
@Shamzik Shamzik force-pushed the kshamazov/pcre_functions branch from 45cc9cc to e74e1ea Compare December 1, 2025 16:36
@Shamzik Shamzik force-pushed the kshamazov/pcre_functions branch from 99a07c1 to 8ce46e1 Compare December 9, 2025 13:01
@Shamzik Shamzik force-pushed the kshamazov/pcre_functions branch from a5c81dc to 18a0c41 Compare December 10, 2025 15:10
Copy link
Copy Markdown
Contributor

@apolyakov apolyakov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Copy Markdown
Contributor

@PetrShumilov PetrShumilov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK

@Shamzik Shamzik merged commit 4d4fd4e into master Dec 11, 2025
7 of 10 checks passed
@Shamzik Shamzik deleted the kshamazov/pcre_functions branch December 11, 2025 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

k2 Affects compiler or runtime in K2 mode

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants