Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve regular expressions report data #4681

Open
hugo-vrijswijk opened this issue Dec 27, 2023 · 1 comment
Open

Improve regular expressions report data #4681

hugo-vrijswijk opened this issue Dec 27, 2023 · 1 comment
Labels
🚀 Feature request New feature request 👶 Good first issue Good for newcomers

Comments

@hugo-vrijswijk
Copy link
Member

In recent releases, there have been 2 major improvements in weapon-regex for regular expressions mutations:

  1. The description field has improved description including the location and more detail for the mutation:
// Before (same for all mutants)
"Negate character class"
// After
"[0:0, 0:1) Negate the character class `[ab0-9[A-Z][cd]]` to `[^ab0-9[A-Z][cd]]`"
"[0:6, 0:7) Negate the character class `[A-Z]` to `[^A-Z]`"
"[0:11, 0:12) Negate the character class `[cd]` to `[^cd]`"

Example:

image

  1. A new field was added to Mutant called replacement which can be used in combination with location to get very precise replacements in the report, instead of the whole string as the location.

Example:

image
image

@hugo-vrijswijk hugo-vrijswijk added the 🚀 Feature request New feature request label Dec 27, 2023
@nicojs nicojs added the 👶 Good first issue Good for newcomers label Jan 17, 2024
@nadasuhailAyesh12
Copy link

could I take this issue,please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀 Feature request New feature request 👶 Good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants