Re: XML/HTML-specific ?< and ?> operators? (was Re: RFC 145 (alternate approach))
[email protected] ("David L. Nicol") Thu, 07 Sep 2000 15:30:47 -0500
| Newsgroups | perl.perl6.language.regex |
|---|---|
| Organization | University of Missouri - Kansas City supercomputing infrastructure |
| Message-ID | <[email protected]> |
Bart Lateur wrote: > > On 06 Sep 2000 18:04:18 -0700, Randal L. Schwartz wrote: > > >I think the -1 indexing for "end of array" came from there. Or at > >least, it was in Perl long before it was in Python, and it was in Icon > >before it was in Perl, so I had always presumed Larry had seen Icon. > >Larry? I thought he got it from the substr function in CDC mainframe BASIC, which in which negative positions mean "from the end of the string"