There definitely is no 2048-character limit, and lines with 12,000 characters aren't exactly long — with machines having several Gigs of RAM these days. Also, a lack of word breaks shouldn't matter either, as your match pattern is independent of them. So it must be something else... Are your real world files maybe UTF-16 encoded, or some such?
In reply to Re^2: Peeling Data with Reserved Characters and Long Lines
by Eliya
in thread Peeling Data with Reserved Characters and Long Lines
by PerlReader
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |