337
submitted 7 months ago by pmjv@lemmy.sdf.org to c/linuxmemes@lemmy.world
you are viewing a single comment's thread
view the rest of the comments
[-] expr@programming.dev 6 points 7 months ago

https://en.m.wikipedia.org/wiki/Regular_language

HTML is famously known for not being a regular language. An explanation isn't required, you can find many formal proofs online (indeed, a junior year CS student should be able to write a proof after their DS/algo/automata classes).

This very old post is funny because despite it being so famously known as being irregular, stack overflow questions kept popping up asking how to use regular expressions to parse HTML, which you can't do.

this post was submitted on 29 Feb 2024
337 points (96.2% liked)

linuxmemes

20924 readers
459 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS