Switch to Ogex regex engine #63

Open
opened 2026-02-26 15:52:00 +03:00 by NiXTheDev · 1 comment
NiXTheDev commented 2026-02-26 15:52:00 +03:00 (Migrated from github.com)

Overview

Replace the native JavaScript regex implementation with Ogex WASM engine for better regex support.

Why Ogex?

  • Drop-in replacement for native regex
  • Better regex feature support (more PCRE-like)
  • WASM-based for performance

Implementation

  • Add @ogex/ogex dependency
  • Update worker to use Ogex instead of native RegExp
  • Test for compatibility with existing sed commands

Notes

  • Waiting on Ogex 0.1.1 release
  • No persistence changes needed
## Overview Replace the native JavaScript regex implementation with Ogex WASM engine for better regex support. ## Why Ogex? - Drop-in replacement for native regex - Better regex feature support (more PCRE-like) - WASM-based for performance ## Implementation - Add @ogex/ogex dependency - Update worker to use Ogex instead of native RegExp - Test for compatibility with existing sed commands ## Notes - Waiting on Ogex 0.1.1 release - No persistence changes needed
NiXTheDev commented 2026-03-24 22:10:48 +03:00 (Migrated from github.com)

Blocked: Ogex v0.1.1 does not support regex flags (g, i, m, s, u, y) in the WASM API. Waiting for v0.1.2 which should add flag support.

Blocked: Ogex v0.1.1 does not support regex flags (g, i, m, s, u, y) in the WASM API. Waiting for v0.1.2 which should add flag support.
Sign in to join this conversation.
No description provided.