The Fractal Match (Composite)
Treating individual lines and blocks of lines uniformly.
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Composite
ARCANUM SCHOOL: Transmutation // Streamweaving
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// CODEX INCANTATION //
# Composite: Handling nested structures via multi-line patterns (N, P, D)
/<group>/ {
:loop
N
/<\/group>/! b loop
# Now we have a composite group in the pattern space
s/<group>\(.*\)<\/group>/\1/g
}
Runic Tags:
#sed
#structural
#composite