From: Daniel Bye Date: 2008-01-15T00:00:11+09:00 Subject: Re: regular expression --jRHKVT23PllUwdXP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 14, 2008 at 11:24:30PM +0900, Johnathan Smith wrote: > thank you. >=20 > what ive basically got now is >=20 > \w{7}(ed|ing) \w{7}(?:\wed|ing) =3D 7 word characters followed by either a word character and the string "ed" or the string "ing". >=20 > was basically works for ing but only matches a 9 letter word for ed Because your version tells it to match on 7 word characters followed by "ed" or "ing". Dan --=20 Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --jRHKVT23PllUwdXP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHi3bWixf5fBYiFmoRAvY2AKDEeyCyKgfWceEESsiyziPcN+FZ5gCdEbNN /+a//P8/fjqcHdrQ/3zae+Y= =tCC7 -----END PGP SIGNATURE----- --jRHKVT23PllUwdXP--