On Wed, Jul 04, 2007, Diego A. wrote:

> Hi John (and the team),
>
> Congratulations on the new release, it's looking great. Can't wait for
> 1.2...
>
> The only small problem I've had is with an old plugin I've been used
> for a while, which adds regular expression selectors:
> (function($){
>  $.extend($.expr['@'], {
>          "=~": "z.match(RegExp(m[4]))!=null",
>          "!~": "z.match(RegExp(m[4]))==null"
>  });
>  $.parse[0] = /^\[ *(@)([a-z0-9_-]*) *([!*$^~=]*) *('?"?)(.*?)\4 *\]/
> i;
>
> })(jQuery);
>
> In 1.1.3, $.expr['@'] is null and causes an error.
> Has $.expr['@'] been dropped?

Seems like the jQuery.expr stuff is now replaced by some inline code, so
AFAIK the above way of adding the regex matching is no longer possible.

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

Reply via email to