From: "Michael T. Richter" Date: 2008-05-03T23:50:43+09:00 Subject: Re: a ? b : c --=-VwQpCmzKpaEf1Dk4dkXM Content-Type: multipart/alternative; boundary="=-/9Mall8oevFIuy4uyTnT" --=-/9Mall8oevFIuy4uyTnT Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2008-05-03 at 23:30 +0900, luka luka wrote: > And I have 1 question. > What is: =3D~ > What operator is it? Regular expression matching. irb(main):001:0> /abc/ =3D~ "12345abcde" =3D> 5 irb(main):002:0>=20 --=20 Michael T. Richter (GoogleTalk: ttmrichter@gmail.com) Those who have learned from history are bound to helplessly watch it repeat itself. (Albert Y. C. Lai) --=-/9Mall8oevFIuy4uyTnT Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
On Sat, 2008-05-03 at 23:30 +0900, luka luka wrote:
And I have 1 question.
What is: =3D~
What operator is it?

Regular expression matching.

irb(main):001:0> /abc/ =3D~ "12345abcde"
=3D> 5
irb(main):002:0>

--
Michael T. Richter <ttmri= chter@gmail.com> (GoogleTalk: ttmrichter@gmail.com)
Those who have learned from history are bound to helplessly watch it rep= eat itself. (Albert Y. C. Lai)
--=-/9Mall8oevFIuy4uyTnT-- --=-VwQpCmzKpaEf1Dk4dkXM Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBIHHu5LqyWkKVQ54QRAleoAKCWzxE+6H9/fnAhmeuxGqhNz0Sm+wCfaU0E M8UjBwmEG7Z5bZTZ0+29+XU= =61ZO -----END PGP SIGNATURE----- --=-VwQpCmzKpaEf1Dk4dkXM--