T26: Add \?? lazy optional quantifier #63

Open
opened 2026-03-24 22:31:29 +03:00 by NiXTheDev · 0 comments
NiXTheDev commented 2026-03-24 22:31:29 +03:00 (Migrated from github.com)

Task 26: Lazy Optional

Wave: 6 (Anchors + Cleanup)
Category: unspecified-high
Parent: Epic #37
Depends on: T1

What to do

  • Add Token::QuestionLazy, update lexer to recognize ??

Acceptance Criteria

  • a??b matches "b" (lazy: prefer no match)
  • a??b also matches "ab" (greedy fallback)

Commit

feat: \?? lazy optional quantifier

## Task 26: Lazy Optional **Wave**: 6 (Anchors + Cleanup) **Category**: unspecified-high **Parent**: Epic #37 **Depends on**: T1 ### What to do - Add Token::QuestionLazy, update lexer to recognize ?? ### Acceptance Criteria - [ ] a??b matches "b" (lazy: prefer no match) - [ ] a??b also matches "ab" (greedy fallback) ### Commit `feat: \?? lazy optional quantifier`
Sign in to join this conversation.
No description provided.