Y!RegExp quiz
Monday, 18. September 2006, 13:36:27
if(img.match(/(.[jJ][pP][eE]?[gG]|.[gG][iI][fF]|.[pP][nN][gG])/)) {
return true;
}
return false;
(Yes, the variable name is a hint.)
Monday, 18. September 2006, 13:36:27
if(img.match(/(.[jJ][pP][eE]?[gG]|.[gG][iI][fF]|.[pP][nN][gG])/)) {
return true;
}
return false;
no ballads in this OperaLaunching OddPatch 0.1 Beta![]()
You must be logged in to write a comment. if you're not a registered member, please sign up.
Never attribute to stupidity that which can be adequately explained by deadlines
@allenjs that good and bad, good because they are aware and will ...
Note that David Storey reported this to the VE team awhile back, ...
Browser JavaScript Explained: http://www.opera.com/docs/browser ...
The browser.js is a nice feature, correcting the mistakes made b ...
New browser.js that teaches the VirtualEarth script a lesson abo ...
By citoyen, # 18. September 2006, 13:58:08
nice, very nice…
By Kildor, # 18. September 2006, 15:44:59
Did I forget something?
Where did the creator learn regular expressions? (or maybe he didn't at all
By GKiller, # 18. September 2006, 16:17:11
Now that's what I call Web 2.0!
By robodesign, # 18. September 2006, 19:17:25
function a(){
if(foobar)
return true;
else
return false;
}
function b(){
if( a() )
return true;
else
return false;
}
if( b() )
return true;
else
return false;
By xErath, # 18. September 2006, 19:50:16
BTW, the sign-up process for Opera Community appears to be almost broken/inaccessible: a captcha is presented with mixed case letters, but I couldn't proceed until I entered lowercase equivalents. It should either accept input that exactly matches the captcha, or it should ignore case.
By gemsling, # 19. September 2006, 07:12:29