#1138668 ITP: node-ret -- regular expression tokenizer for Javascript

#1138668#5
Date:
2026-06-02 02:41:35 UTC
From:
To:
* Package name    : node-ret
  Version         : 0.5.0
  Upstream Author : fent <fentbox@gmail.com> (https://github.com/fent)
* URL             : https://github.com/fent/ret.js
* License         : Expat
  Programming Lang: JavaScript
  Description     : regular expression tokenizer for Javascript

 Turns a standard Javascript RegExp into a tree with the following
 token types: ROOT, GROUP, POSITION, SET, RANGE, REPETITION, REFERENCE,
 CHAR.  Follows the Javascript regular expression syntax with the
 following exceptions which are currently unsupported:
 .
  - Unicode property escapes: \p and \P
  - Named groups: (?<group>) and \k<group>
  - Negative lookbehind assertions: (?<=) and (?<!)
 .
 .
 Node.js is an event-based server-side JavaScript engine.

dep for randexp
i plan to maintain this under the js-team