in reply to Re: Re: Truncate a string (news lead?)
in thread Truncate a string (news lead?)
/me kicks himself.
You're right, though for a different reason. It seems to me that, in this particular case, YY ($1) cannot be false, as it contains at least one character, then one of !?., then a whitespace character. Which cannot be false. Or, if the match fails, it contains nothing and therefore is false as it is supposed to be. Usually.
However, it might contain the $1 from a previous match, which makes you right. Again.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Truncate a string (news lead?)
by merlyn (Sage) on Sep 13, 2001 at 23:51 UTC | |
|
Re: Re: Re: Re: Truncate a string (news lead?)
by blakem (Monsignor) on Sep 13, 2001 at 22:40 UTC |