regular-expressions skillA
regular-expressions is agent-read markdown (skill) from mendixlabs/mxcli: Create and manage named regular-expression documents and bind them to attribute validation rules. Use when adding an email, phone or identifier pattern, changing a shared pattern, or working out why a regex cannot attach directly to an attribute..
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# Regular Expressions
## When to Use This Skill
Use this skill when the user wants to:
- Add a named validation pattern (email, phone, identifier, postcode)
- See or change the regexes a project already has
- Understand why a regex cannot be attached to an attribute from MDL
## What a Mendix regular expression is
A **document**, not a string on a rule. An attribute validation rule stores a
reference to it by qualified name, so one pattern is shared by every attribute
that validates against it. That is why it gets a `create` statement of its own.
```sql
list regular expressions;
list regular expressions in Val;
describe regular expression Val.EmailAddress; -- re-executable MDL
create regular expression Val.EmailAddress (
Expression: '\w+((-|\+|\.)\w+)*@\w+([\.-]?\w+)*(\.\w{2,})+',
Documentation: 'A, not too restrictive, email address regular expression'
);
drop regular expression Val.EmailAddress;
```
| Property | Meaning | Default |
|----------|---------|---------|
| `Expression` | the pattern — **required** | — |
| `Documentation` | free text | none |
| `ExportLevel` | `Hidden` or `Public` | `Hidden` |
## Writing the pattern
The pattern is an ordinary MDL string:
…Read the whole file at its exact version.
How to install
mdr add mendixlabs/mxcli/regular-expressions@git:20260922.4954f84mdr add mendixlabs/mxcli/regular-expressions@sha256:f60436d6a4c55a48Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_lscibpuut7hg44rt)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260922.4954f84 latest | 2026-09-22 | 4954f84 | 6,496 B | A | view · diff |
| git:20260821.ff81a24 | 2026-08-21 | ff81a24 | 5,584 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (6496 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
mendixlabs/mxcli · 124 stars · license Apache-2.0 · pushed 2026-09-24 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_lscibpuut7hg44rt GET https://markdownregistry.com/api/v1/resolve?ref=mendixlabs/mxcli/regular-expressions GET https://markdownregistry.com/api/v1/blob/f60436d6a4c55a48afa21e24de5a3af220505e8b5ce68371e328e1de349dea48
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.