in reply to Re: Regex required to Replace the array specifiers in a string
in thread Regex required to Replace the array specifiers in a string

Hi John,

Thanks a lot for the prompt response. This logic is working fine. But i face perfomance issue since my input sample is huge (app 1 lakh strings). Hence i would be grateful if this can be solved using regex or any other efficient way.

Cheers,
Anand

  • Comment on Re^2: Regex required to Replace the array specifiers in a string

Replies are listed 'Best First'.
Re^3: Regex required to Replace the array specifiers in a string
by kennethk (Abbot) on Jul 02, 2010 at 15:04 UTC
    If you think you are having performance issues, profile your code to check where your bottlenecks are. Devel::NYTProf is an example of a good utility in this area. We cannot help you improve performance unless you provide specific pieces of code that you have experimentally demonstrated are your bottlenecks.