STRling Lab
Compile semantic source and test the emitted pattern against your data.
Literal text is inserted verbatim. Runtime templates use the engine's syntax, such as JavaScript $<name>, PCRE2 ${name}, or Python \g<name>.
Source
Sample text
Copy gives the current result JSON. Download includes the source, run settings, and observation details.
Run to see matches or other output for the selected operation.
Scan continuation
Extract matches or captures
Values follow match order. Null marks a group that did not participate and an empty string marks a participating empty group.
Structured result
Raw JSON
Generated pattern origin
Both handoffs carry the current datasets and compiler origin in this tab. The cursor option also includes a saved scan boundary. Execution waits for Run or Resume.
Compiler tools are loading.
Tests use the current pattern, their own subject and operation, and the selected runtime.
Each comparison uses current datasets and settings on both sides and reports concrete differences.
One warmup and nine measured runs of the current pattern on the full active sample.
Download includes the current session's source, samples, tests, and available recorded outputs. Use Copy for a settings-only link.
Previously recorded outputs
Restoring a revision makes these outputs available for inspection. Run starts a new observation with the current runtime and inputs.
Runtime limits and licenses
Runs use local browser workers with time and output limits. Python downloads its runtime from this site the first time it is used. Match and capture ranges include the start and exclude the end.
- JavaScript uses the browser's RegExp engine and reports UTF-16 offsets. Split includes captured delimiters using native
String.split. - PCRE2 reports UTF-8 byte offsets. The
pflag enables Unicode properties. Interpreter stepping is available for PCRE2. Native structure inspection is partial. - Python
rereports Unicode code-point offsets. Bytes mode encodes text as UTF-8, reports byte offsets and displays values in hex. A byte span that splits a Unicode character has no editor range.
PCRE2 license downloads for PCRE2 10.42, PCRE2 10.43, and PCRE2 10.49. Python runtime source and notices are available from Pyodide.
For certified engine evidence, see RegEx Compatibility Check. Lab results record local execution for the selected input and runtime.