![]() |
Replace In File - out of stack space
I get this message when trying to do a replace in file...
"Out of stack space, while attempting to match a regular expression." What does this mean? I am trying to replace a whole section of XML. In the example below I would be trying to replace the entire XMLNode section. My Regular expression is the following The only difference between this example and what I am doing is the size of the XML section. |
Please ZIP and send or post:
1) The info from Help | About | Install Info 2) The .bld file used to build 3) The file replacements are being made in |
1 Attachment(s)
Here is the info you asked for.
Thanks |
Using
.* instead of (.|\n)* works. |
Indeed it does. Thanks.
By chance do you know why the other mehtod doesn't work and a stack problem occurs? |
I guess the regex engine is running into some internal limit with a large amount of text when processing that expression. This is the regex component used by that action:
http://boost.org/libs/regex/doc/index.html |
All times are GMT -5. The time now is 03:32 PM. |
Copyright © 1999-2023 Kinook Software, Inc.