in reply to Re: Re: Re: value returned on m// failure
in thread value returned on m// failure
right you are. i know that s/// & tr/// return the number of matched; never occured to me that m// behaves the same.
i goofed when i wrote that number 1 (be it as string or numeric) was being returned on a regex match. it just happens that only one thing was being matched.
thanks for the clue.
|
|---|