Skip to content

Conversation

aheckmann
Copy link
Owner

No description provided.

@Copilot Copilot AI review requested due to automatic review settings August 13, 2025 00:02
Copy link

@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 adds support for the v (unicodeSets) and d (hasIndices) regex flags to the regexp-clone library. These are newer ECMAScript regex features that allow for enhanced Unicode support and capture group indices tracking.

  • Adds support for the v flag (unicodeSets) and d flag (hasIndices) in the main cloning logic
  • Updates test suite to include comprehensive coverage for both new flags
  • Modifies existing test helpers to accommodate the new unicode-related flags

Reviewed Changes

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

File Description
index.js Adds detection and preservation of v and d flags in the regex cloning process
test/index.js Adds test coverage for both new flags and updates existing test helpers to handle unicode flag variations

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@aheckmann aheckmann merged commit 8ab371c into main Aug 13, 2025
3 checks passed
@aheckmann aheckmann deleted the latest_features branch August 13, 2025 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant