Skip to content
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

Closed
fresco1108 opened this issue Jan 22, 2014 · 6 comments
Closed

Regex for HTML/XHTML #16

fresco1108 opened this issue Jan 22, 2014 · 6 comments

Comments

@fresco1108
Copy link

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.

@madisonmay
Copy link
Owner

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/

@fresco1108
Copy link
Author

you know i thought about that just a moment ago :)

@madisonmay
Copy link
Owner

Yup -- simple regular expressions can't compete with that kind of library.

@talyssonoc
Copy link
Contributor

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...

@eet6646
Copy link

eet6646 commented Jan 22, 2014

@talyssonoc Jquery has excellent support for this already

@madisonmay
Copy link
Owner

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants