in reply to Should string inequality operators return the point the of divergance?

Hmm, just occured to me. Why not, instead of returning the position, set the pos() value instead? (The thingy thats used by \G /g to figure out where a regex got to in the input) .. Or is that too much of an 'unexpected side effect'?

C.

  • Comment on Re: Should string inequality operators return the point the of divergance?