( calamari | 2011. 05. 15., v – 23:34 )

Vagy az adott programozási nyelven a "match", mint "string" hossza tartalmazza ezt az információt.
Ehhez valahogy hozzá lehet férni. Változó, hogy hogyan.
Pl. perlben:
$&
The string matched by the last successful pattern match (not counting any matches hidden within a BLOCK or eval() enclosed by the current BLOCK). (Mnemonic: like & in some editors.) This variable is read-only and dynamically scoped to the current BLOCK.

Na ennek a hosszát kell nézni.