- RegEx engine compiles a regular expression string into a VM bytecode.
- It was inspired by the article by Russ Cox.
- Some features have been added and others have been changed.
- Non-recursive implementation, except for lookahead.
- This RegEx suports:
1. Special characters, metacharacters:
\t, \r, \v, \n, \f, \_ (Space)
\+, \-, \*, \(, \) ...
\xHH, HH is a two digit hex number
2. Character classes:
\d, \D, \w, \W, \s, \S
3. Custom character classes (character classes are not allowed):
[xyz], [^xyz], [+*/-], [_a-fA-F0-9], . (Dot)
4. Anchors:
^, $
5. Quantifiers:
Greedy, Lazy (?) and Possessive (+)
6. Alternation:
A|B|AB
7. Grouping (non-captured and captured):
(?:...), (...)
8. Positive and negative lookahead:
(?=...), (?!...)
9. Atomic grouping:
(?>...)
10. Backreference
\1..\9
11. NEW: Regex search & replace:
(?$C regex), \i (one char back), \I (Back to start)
- Caution! This software is intended for educational and experimental purposes and has not been sufficiently tested. There are no warranties of any kind!
- Usage: Insert a regex and a text. Then press buttons: Translate, Compile and Run
Last edited by nextyamb; May 6th, 2026 at 06:19 AM.
Reason: Software improvment