Angus Leeming <[EMAIL PROTECTED]> writes: | where BoundingBox bb is set so: > | BoundingBox::BoundingBox(string const & bb) | { | if (bb.empty()) | return; > | string tmp1; | string tmp2 = split(bb, tmp1, ' '); | if (!isValidLength(tmp1)) | return; > | LyXLength const length_xl(tmp1); > | tmp2 = split(tmp2, tmp1, ' '); | if (!isValidLength(tmp1)) | return; > | LyXLength const length_yb(tmp1); > | tmp2 = split(tmp2, tmp1, ' '); | if (!isValidLength(tmp1) || !isValidLength(tmp2)) | return;
Why isn't a regex used instead of this manuel parsing of the bb string? -- Lgb