Greetings ! I am having a some difficulaties in matching and extracting a part of strings. I need to load a HTML file into a scalar variable and then extract certain part of the it which is "marked" ( ie., %%row_start%%% and %%row_end%% ). The problems is with the "\n" at end of each line in the html file. If there is a newline immediately after the "mark" the Regrex fails to work properly. If I remove all the "\n" from the loaded value then I am able to get the result well. But this will cause the HTML code to be unformated and will creat problems for webdesingers while debuggin html code. Can we do this without removing "\n" char? I am attaching both perl code and html file(zipped together). Please check out and let me know where I am wrong. with regards Rajeev Rumale ___________________________________________________ Yesterday is history. Tomorrow a mystery. Today is a gift. That's why it's called Present. ___________________________________________________
- Re: Is there an alternative to CGI ??? Aaron Craig
- Re: Is there an alternative to CGI ??? Pierre Smolarek
- Re: Is there an alternative to CGI ??? Michael Fowler
- Re: Is there an alternative to CGI ??? Aaron Craig
- Re: Is there an alternative to CGI ??? Pierre Smolarek
- Re: Is there an alternative to CGI ??? Michael Fowler
- Re: Is there an alternative to CGI ??? George S Pereira
- Re: Is there an alternative to CGI ??? Michael Fowler
- Re: Is there an alternative to CGI ??? Akshay Arora
- Re: Is there an alternative to CGI ??? Akshay Arora
- Re: Regrex - ignoring the boundaries Rajeev Rumale
- Re: Regrex - ignoring the boundari... Stephen P. Potter
- Re: Regrex - ignoring the boun... Rajeev Rumale
- RE: Is there an alternative to CGI ??? John Edwards
- RE: Is there an alternative to CGI ??? Aaron Craig
- [OT] in my own defence (was RE: Is there an alterna... Aaron Craig
- RE: Is there an alternative to CGI ??? Kipp, James
- Re: Is there an alternative to CGI ??? Pierre Smolarek
- Re: Is there an alternative to CGI ??? Brett W. McCoy
- Re: Is there an alternative to CGI ??? Kevin Meltzer
- Re: Is there an alternative to CGI ??? Pierre Smolarek