Marvin Humphrey schreef: > @+, @-, and pos() all give answers in terms of characters if the > scalar which matched was marked with SvUTF8. But I always need > @starts and @ends measured in *bytes*.
Better call them "octets", see `perldoc Encode`. <quote> When you run "$octets = encode("utf8", $string)", then $octets may not be equal to $string. Though they both contain the same data, the utf8 flag for $octets is always off. </quote> -- Affijn, Ruud "Gewoon is een tijger."