Giter Site home page Giter Site logo

Regex for HTML/XHTML about commonregex HOT 6 CLOSED

fresco1108 avatar fresco1108 commented on May 19, 2024
Regex for HTML/XHTML

from commonregex.

Comments (6)

madisonmay avatar madisonmay commented on May 19, 2024

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/

from commonregex.

fresco1108 avatar fresco1108 commented on May 19, 2024

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

from commonregex.

madisonmay avatar madisonmay commented on May 19, 2024

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

from commonregex.

talyssonoc avatar talyssonoc commented on May 19, 2024

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

from commonregex.

eet6646 avatar eet6646 commented on May 19, 2024

@talyssonoc Jquery has excellent support for this already

from commonregex.

madisonmay avatar madisonmay commented on May 19, 2024

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

from commonregex.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.