in reply to Re: search one instance
in thread search one instance

I, also, cannot figure out how you get a position of 3 from the given code.

Replies are listed 'Best First'.
Re^3: search one instance
by suhailck (Friar) on Nov 04, 2010 at 01:11 UTC
    Sorry, i missed out a question mark "?" in m/^.*?(?=data)/

    Thanks for noticing that :)
    Updated the code above...