Yes , Indeed the prob is interesting !!!
Let me give u an overview of my code(if not the entire code) I am retrieving a huge string from the database. This string basically has the html page source (all html tags) within which the pattern <%sgs; ;sgs%> is existing. The pattern has some html code (like a <table> <tr><td> etc) which needs to be modified and then replaced when certain condition are met. It's for the same reason , I need to extract it. This is where I faced the prob as we have been discussing above.
Well , I did some more R&D on the same , and feel that this has something to do with the size of string. I reduced some of the content from the html page source in a step by step way and found that at a particular point it works !! Now so as what is the upper limit for the size of string , I am not able to figure out.
Is my feeling right ? Is it possible that the size of the string can affect the pattern matching ? If so , any idea what is the upper limit for the size of string ?
Awaiting ur response. Thanks for ur kind attention.
Regards ,
SGS