-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regex for HTML/XHTML #16
Comments
I've thought about adding support HTML/XHTML in the past, but I think that's best left to full featured web page parsing libraries like BeautifulSoup: http://www.crummy.com/software/BeautifulSoup/ |
you know i thought about that just a moment ago :) |
Yup -- simple regular expressions can't compete with that kind of library. |
I've been thinking about putting XML tags support on the JavaScript port, but I wonder if it would be really useful just to get all the tags and/or properties of a code... |
@talyssonoc Jquery has excellent support for this already |
@eet6646 @eet6646 @talyssonoc Yeah, I'm of the opinion that xml/html/xhtml support is outside the scope of this project. It's largely a solved problem, there's a wealth of libraries that do exactly that, and I doubt a rather sketchy regular expression based solution would be of much benefit to anyone, even if it does sound enticing at first glance. I could be persuaded otherwise, but for the time being this feature request is going on the back burner. |
adding support for identifying tags and their attributes as well as replacement of attribute values making it more awesome. I am half way down there need some testing.
The text was updated successfully, but these errors were encountered: