Skip to content

Conversation

AenBleidd
Copy link
Member

No description provided.

@AenBleidd AenBleidd added this to the wrapper v26019 milestone Aug 9, 2025
@Copilot Copilot AI review requested due to automatic review settings August 9, 2025 01:23
@github-project-automation github-project-automation bot moved this to In progress in Client/Manager Aug 9, 2025
Copilot

This comment was marked as outdated.

@AenBleidd AenBleidd force-pushed the vko_replace_regexp_library_with_stdlib branch from 34709c5 to 8eb89d0 Compare August 9, 2025 01:49
@AenBleidd AenBleidd requested a review from Copilot August 9, 2025 01:49
Copilot

This comment was marked as outdated.

@AenBleidd AenBleidd force-pushed the vko_replace_regexp_library_with_stdlib branch from 8eb89d0 to 9fad631 Compare August 10, 2025 13:05
@AenBleidd AenBleidd requested a review from Copilot August 10, 2025 13:06
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR replaces a custom and outdated regular expression library with the C++ standard library's <regex> implementation. The change modernizes the codebase by removing approximately 1,600 lines of custom regex code from 2002 and updating the wrapper application to use std::regex.

  • Removes all custom regex implementation files and header dependencies
  • Updates wrapper.cpp to use std::regex instead of the custom regexp library
  • Simplifies build configuration by removing regex object file dependencies

Reviewed Changes

Copilot reviewed 14 out of 14 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
win_build/wrapper.vcxproj Removes custom regex source and header files from Windows build
samples/wrapper/wrapper.cpp Replaces custom regex API with std::regex for pattern compilation and matching
samples/wrapper/.c/.h Deletes all custom regex implementation files
samples/wrapper/Makefile* Removes regex object dependencies from build targets
lib/Makefile.mingw Removes regex object dependencies from MinGW build

// Compile pattern using std::regex. Try ECMAScript (default),
// then extended as fallback.
try {
zip_patterns.emplace_back(buf);
Copy link
Preview

Copilot AI Aug 10, 2025

Choose a reason for hiding this comment

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

The error message on line 530 references 'pattern' but should reference 'buf' to be consistent with the actual pattern variable being used.

Copilot uses AI. Check for mistakes.

@AenBleidd AenBleidd merged commit 530dd43 into master Aug 11, 2025
184 checks passed
@AenBleidd AenBleidd deleted the vko_replace_regexp_library_with_stdlib branch August 11, 2025 13:34
@github-project-automation github-project-automation bot moved this from In progress to Merged in Client/Manager Aug 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Merged
Development

Successfully merging this pull request may close these issues.

1 participant