From: Martin DeMello Date: 2002-12-11T21:17:53+09:00 Subject: Re: Bit syntax Bulat Ziganshin wrote: > Hello Martin, > > Wednesday, December 11, 2002, 2:17:32 PM, you wrote: > > MD> Came across this in the lambda weblog, where the poster said > > MD> The Erlang Bit Syntax extends pattern matching to (de)constructing > MD> chunks of binary data, such as the bit-encoded headers in network > MD> protocols and file formats. It's an amazingly handy language > MD> extension. > > sorry, but ruby don't have pattern matching even for regular data > structures. it too FP-style ;) it is not the same as regular > expression matching (as you think) Doh - okay, misread that. Yeah, pattern matching wouldn't work in Ruby. martin