swiftlang / swiftlang/swift-experimental-string-processing

Regex DSL Status

Open
#131 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
308
Forks
52
Avg merge
12h 45m
Merged PRs (30d)
2

Description

This tracks the status and progress of built-in result builder DSL APIs. It doesn't necessarily reflect other related API, the protocols used for library extension, or API details beyond result builders such as options and custom character classes.

See https://github.com/apple/swift-experimental-string-processing/issues/63 and https://github.com/apple/swift-experimental-string-processing/issues/132

Current Status

  • Concatenation
  • Alternation
  • Quantification
    • Shorthand operators (.?, .*, .+)
  • Conditional
  • Backreferences
  • Anchors
  • Lookaround assertions
  • Built-in character classes
  • Named subpatterns and subpattern invocations
  • Pattern inversions
  • Options and option scopes
  • Redundantly named captures, branch-reset, etc

Needed

  • Conditional patterns
  • Pattern inversions
  • Options and option scopes
  • Redundantly named captures, branch-reset, etc
  • Built-in properties
  • Balancing groups
  • Recursion level for backreferences
  • Named captures
  • TBD

Type system concerns / impact

TBD

Structural and flat captures

TBD

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the linked issues 63 and 132 alongside the current status checklist. No implementation files, tests, entry points, or concrete definition of done are specified; the open items and type-system sections remain broad or marked TBD.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.