From: lewisd@...00f.net (Derek Lewis) Date: 2005-02-17T02:35:27+09:00 Subject: Re: Curious regexp behavior On Wed, Feb 16, 2005 at 06:14:52PM +0900, Robert Klemme wrote: > > > Did you try the same with the matching reversed, i.e., "rexp =~ word" > instead of "word =~ rexp"? Did it make a difference? > > Kind regards > > robert > I did, actually, and it was very slightly faster. Still slower than an inline regexp, however. Thanks for the insightful answers, everyone. It quite interesting to find out how your favorite programming language works inside. -- Derek Lewis =================================================================== Java Web-Application Developer Email : email@lewisd.com Cellular : 778.898.5825 Website : http://www.lewisd.com "If you've got a 5000-line JSP page that has "all in one" support for three input forms and four follow-up screens, all controlled by "if" statements in scriptlets, well ... please don't show it to me :-). Its almost dinner time, and I don't want to lose my appetite :-)." - Craig R. McClanahan