Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 0
Lua API Text
Leonard Ramminger edited this page Aug 10, 2026
·
1 revision
String helpers, ECMAScript regex, Prebyte templates, and line diffs.
| Function | Description |
|---|---|
contains, starts_with, ends_with | boolean checks |
to_lowercase, to_uppercase, to_case | case changes |
replace, replace_all | substring replace |
split, join, trim | split/join/trim |
beez.text.regex_match("abc123", "^abc\\d+$")
beez.text.regex_replace("foo bar foo", "foo", "baz")Uses C++ std::regex (ECMAScript). In Lua strings, write \\d for \d.
beez.text.template("Hello {{ name }}", { name="Beez" })
beez.text.template("{{ if ready }}yes{{ else }}no{{ endif }}", { ready=true })
-- Lua arrays use 1-based indexing in templatesbeez.text.template("{{ items[1] }}", { items= { "a", "b" } }) -- "a"localchunks=beez.text.diff(old_text, new_text)
-- { { op = "equal"|"insert"|"delete", text = "..." }, ... }For table diffs use beez.data.diff.
Quick Reference · Glossary · FAQ
- Fundamentals
- Core Concepts
- Project Layout
- First Pipeline
- Phases and Scopes
- How Phases and Scopes Work
- Selecting with Phases and Scopes
- Designing Phases and Scopes
- Parallel Execution and Dependencies
- Configuration
- Configuration Overview
- Global User Config
- Project Config
- Environment Variables
- Performance Settings
- Cache Settings
- Config Reference
- CLI
- CLI Overview
- Running Targets
- Filtering by Phase
- Running a Single Step
- Listing Entities
- Output and Logging Flags
- Cache and Maintenance Flags
- Meta and Utility Commands
- Project Scaffolding —
beez --init(embedded Tempify) - CLI Flag Reference
- Lua DSL
- DSL Overview
- Plugin System — Plugins, Config DSL, Standard-Workflows
- Step Declaration
- Task Declaration
- Workflow Declaration
- Order Declaration
- Configure Step
- ReqPack Declaration
- Beez API
- Step Context
- DSL Patterns
- Caching
- Caching Overview
- Step Cache
- Success Cache
- Glob Metadata Cache
- Artifact Patterns
- Cache Keys and Invalidation
- Cache Storage and Maintenance
- Caching Troubleshooting
- Development and Contribution
- Building and Setup
- Repository Layout
- Testing
- Code Quality
- Feature Development Workflow
- Submitting Changes