From: Konrad Meyer Date: 2007-09-26T13:15:21+09:00 Subject: Re: ruby regex on html file --nextPart1595087.hTo1LGE6MD Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Quoth Une B=E9vue: > William James wrote: >=20 > > puts DATA.read.scan( /]*src=3D"(.*?)"/m ).flatten > i don't understand your "?" here --------------^ >=20 > what is his meaning after * ??? > --=20 > Une B=E9vue Non-greedy match. Find as few characters as possible to match, which in thi= s=20 case means don't match quote characters. HTH, =2D-=20 Konrad Meyer http://konrad.sobertillnoon.com/ --nextPart1595087.hTo1LGE6MD Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQBG+dzXCHB0oCiR2cwRAk7CAKDA+CL2xgZ/DlNWD2IeC7yFwGyXAgCgty0v QjoBIBGnzB/c08j7+AtcojE= =kxlF -----END PGP SIGNATURE----- --nextPart1595087.hTo1LGE6MD--