http://qs321.pair.com?node_id=484982


in reply to Re^2: Applying a regex to part of a string
in thread Applying a regex to part of a string

Your substr is missing the +1 bit. It would only match between character positions 11 and 29, not 30.

  • Comment on Re^3: Applying a regex to part of a string

Replies are listed 'Best First'.
Re^4: Applying a regex to part of a string
by holdyourhorses (Monk) on Aug 19, 2005 at 07:17 UTC

    That's right. I missed that point. Fixed now.

    Thanks again.