Files
marqdo/public/features/08-re-encoding.mq.md
T
cflmyandCursor b5c07385e9 feat(markup): finish v0.3 stock migration and green gold
Migrate remaining .mq.md (tests/ext/public/examples), stop elevating local assigns to params, inject form_target in Go libweb, and skip live LLM gold without a real key.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-13 23:43:44 +08:00

551 B


title: Mid stdlib — regex and encoding description: lib/re + lib/encoding without plugins (Mid M1) import re:lib/re.mq.md import enc:lib/encoding.mq.md

Regex and encoding in lib/

Mid-tier stdlib: everyday primitives stay in lib/, not ABI plugins.

main

ok = > re.is_match text="user@example.com" pattern="^[^@]+@[^@]+$" tok = > enc.base64_encode text="marqdo" hex = > enc.hex_encode text="ok"

print text=ok print text=tok print text=hex

  1. ok

print text=mid-m1-ok

print text=mid-m1-fail