Package dev.gmitch215.bytebox.regex


package dev.gmitch215.bytebox.regex
What makes java.util.regex work here, which nothing in a project has to name.

The class library has a full pattern compiler and matcher, and they measure 68 KB of WebAssembly after compression to do what the isolate can already do. A project writes java.util.regex as it would anywhere and the compiler points the references here.

The pattern is rewritten rather than passed through, because the two syntaxes agree about most things and disagree about a handful that look identical: Translate lists them and rewrites each to something exact. What has no exact equivalent is refused when the pattern is compiled, naming what it was, so a pattern either means here what it means on a JVM or it does not compile.

Since:
1.0.0
  • Classes
    Class
    Description
    A match in progress, standing in for java.util.regex.Matcher.
    A compiled pattern, standing in for java.util.regex.Pattern.
    Points java.util.regex.Pattern and Matcher at the ones in this package.