firasdib / Regex101

This repository is currently only used for issue tracking for www.regex101.com
3.21k stars 198 forks source link

stray characters in quiz task 18 #1990

Closed patrick-haldi closed 1 year ago

patrick-haldi commented 1 year ago

Bug Description

Quiz task 18 has some stray special characters:

Replace every other character if it''s a \d with * (only those in even positions: 2, 4, 6, etc).

Example: a1b2cde3~g45hi6 should become a*b*cde*~g4*hi6"

also, I'm not able to solve this quiz using ^((?:..)*?)(.)\d(.*)$ --> $1$2*$3, but that's probably just my bad

Reproduction steps

Expected Outcome

Description should say:

Replace every other character if it's a \d with * (only those in even positions: 2, 4, 6, etc).

Example: a1b2cde3~g45hi6 should become a*b*cde*~g4*hi6

Browser

Firefox 109.0.1 (64-bit)

OS

Linux Kubuntu 22.04

firasdib commented 1 year ago

Thank you, I'll fix this asap.