On Feb 3, 2009, at 12:39 PM, George Adamson wrote:


Absolutely, it is very very limited. So this technique is only suited
to the type of regex's that I quoted, like the one used internally by
jquery to test for body or html tags only, or to test for t(able|d|h)
only. Particulalry when used inside a loop. For parsing a selector we
still need regex.

On Feb 3, 3:16 pm, Eric Garside <gars...@gmail.com> wrote:
Using a hash I can see for some situations, but unless you can figure
out a way (and I'd be super interested if you could) to do complex
cascade parsing without regex, your method seems like double the work
of rewriting with no benefits towards maintainability and a minor
speed increase for only certain tags.

Hey George,

Would you mind posting this suggestion on the jquery-dev list? That seems to be a more appropriate place for it, and I'm guessing it'll be noticed / attended to more quickly there.

Thanks!

--Karl

____________
Karl Swedberg
www.englishrules.com
www.learningjquery.com


Reply via email to