View Quote
-
#1828 Up↑ /7 Down↓ [Report] 2007-01-25 08:09 GMT
<@Mook> I /think/ .replace(RegExp("^/projects...")) works?
<@reed> alert("/projects/firefox/2.0.0.1/yourmom".replace(/^\/projects\/firefox\/([2-9]\.[0-9\.]+)(\/.*)?$/, "http://www.mozilla.com/firefox/$1$2"));
<@reed> that works
<@ss> Did you just call my mom a whore?
<@jX> damn, you're fast with reading regexs.
This page was generated in 497 ms by Chirpy! v0.4-svn.
Kindly hosted by jX and in no way affiliated with the Mozilla Foundation.
Kindly hosted by jX and in no way affiliated with the Mozilla Foundation.