boostorg / boostorg/regex

Feature Request: Syntax - Allow escape of any special character

Open
#281 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
119
Forks
113
PR merge metrics
No merged PRs in 30d

Description

Syntax request: Allow special characters to be escaped that don't actually need it?

Some users do not search for special characters very often, and don't remember which require the escape character and which don't. Yes they can look it up when their regex fails. It would be a nice usability enhancement if the engine would syntactically ignore an escape character with a symbol that doesn't need it.

Thanks for consideration of the idea.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files, tests, or entry points. Start by locating Boost.Regex's syntax parser and existing escape-handling tests, then confirm the supported behavior and compatibility expectations before proposing a change. Done means unnecessary escapes are accepted without changing required escape semantics, with regression coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.