Add these lines in your javascript file:
jQuery.parse[0] = [ "\\[ *(@)S *([\\/!*$^=]*) *Q\\]", 1 ];"trace(m[4])";
jQuery.expr['@']['/='] = "new RegExp(m[4]).test(z)";

then you be able to do following:
$("[EMAIL PROTECTED]/='\\.(jpg|gif)(\\?.*|$)']")


On 8/11/06, Fil <[EMAIL PROTECTED]> wrote:
> @ Aloyzas Rimeika <[EMAIL PROTECTED]> :
> > $("[EMAIL PROTECTED], [EMAIL PROTECTED]")
>
> I know there are alternatives for most cases. However you can't beat the
> versatility of regular expressions.
>
> > >         $("a[href REGEXP '\.(jpg|gif)(\?.*|$)']");
>
> -- Fil
>
>
> _______________________________________________
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to