firasdib / Regex101

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

Wrong match with #-char #2027

Closed Delog-ru closed 1 year ago

Delog-ru commented 1 year ago

Bug Description

Wrong match. Example saved here: https://regex101.com/r/FpAAAN/1

Reproduction steps

Regex: [\d ]+(?:,|.) Text: test #1 Matches sharp (#) character but shouldn't match anything.

Expected Outcome

No matches