Re: question regarding rules and bytes vs characters

2004-07-12 Thread Austin Hastings
--- Larry Wall <[EMAIL PROTECTED]> wrote: > > Hmm, maybe that means that language-dependent graphemes are called > "langs", which I suppose is short for "langemes". Dangerously close to "legumes", there. Perhaps we could refer to entities matches by regexes as "peas"... =Austin

Re: question regarding rules and bytes vs characters

2004-07-12 Thread Larry Wall
On Mon, Jul 12, 2004 at 07:42:02AM +0200, Ph. Marek wrote: : Of course the file must be opened in binary mode - else the line-endings etc. : can be destroyed in the binary data, which is bad. : : So Perl/Parrot can't autodetect the kind of encoding. : But maybe it should be possible to do somethi

Re: question regarding rules and bytes vs characters

2004-07-11 Thread Ph. Marek
> : Hello everybody, > : > : I'm about to learn myself perl6 (after using perl5 for some time). > > I'm also trying to learn perl6 after using perl5 for some time. :-) I wouldn't even try to compare you and me :-) > Pretty close. The way it's set up currently, $len is a reference > to a var

Re: question regarding rules and bytes vs characters

2004-07-09 Thread Larry Wall
On Tue, Jun 01, 2004 at 07:56:41AM +0200, Ph. Marek wrote: : Hello everybody, : : I'm about to learn myself perl6 (after using perl5 for some time). I'm also trying to learn perl6 after using perl5 for some time. :-) : One of my first questions deals with regexes. : : : I'd like to parse data

question regarding rules and bytes vs characters

2004-05-31 Thread Ph. Marek
Hello everybody, I'm about to learn myself perl6 (after using perl5 for some time). One of my first questions deals with regexes. I'd like to parse data of the form Len: 15\n (15 bytes data)\n Len: 5\n (5 bytes data)\n \n OtherTag: some value here