Is there anyway to prevent StackOverflow Errors with large files?

Particularly, I have problems with the following:

matching "start (.|\E)*" against any file with "start" towards the
beginning, and the StackOverflow Error occurs if the file is long enough.
Is there an easier/more efficient way to get everything in the file, or
everthing until an ending phrase "end"?  Or is this a fundamental flaw
with the recursive nature of the code?

Sorry if this is somewhat of a usage question, but I'm concerned it may be
a problem with the code itself.

BTW, I did start working on the ability to collect the locations of
multiple matches for a * operator, and it works in most cases, but has
some bugs.  If anyone else really needs this, I'd be happy to hurry up and
finish.  Otherwise, it'll wait until I really need it.

Ian

Reply via email to