T16: WASM sub()/replace functionality #53

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

Task 16: WASM Sub

Wave: 4 (WASM API Parity)
Category: unspecified-high
Parent: Epic #37
Depends on: T8

What to do

  • Add sub() method to JsRegex using Rust replace() API

Acceptance Criteria

  • new JsRegex("abc").sub("repl", "xxabcyy") returns "xxreplyy"
  • Named backrefs work in WASM sub()

Files

  • ogex/src/wasm.rs:82-165 — JsRegex class

Commit

feat: WASM sub()/replace functionality

## Task 16: WASM Sub **Wave**: 4 (WASM API Parity) **Category**: unspecified-high **Parent**: Epic #37 **Depends on**: T8 ### What to do - Add sub() method to JsRegex using Rust replace() API ### Acceptance Criteria - [ ] new JsRegex("abc").sub("repl", "xxabcyy") returns "xxreplyy" - [ ] Named backrefs work in WASM sub() ### Files - `ogex/src/wasm.rs:82-165` — JsRegex class ### Commit `feat: WASM sub()/replace functionality`
Sign in to join this conversation.
No description provided.