Regular expressions as finite automata

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 110

  • @supermage8026
    @supermage8026 25 дней назад +44

    I just wanted to express how lucky we are to have someone like you doing this!
    It's rare to find such good explanations of computer science and mathematical concepts these days.

  • @justinbrady2900
    @justinbrady2900 25 дней назад +23

    This took a whole semester to grok back in 2000.
    Concise explanation.

  • @chriskindler10
    @chriskindler10 25 дней назад +16

    this channel has by far become my favourite with regards to programming :)

  • @VictorMantovani
    @VictorMantovani 24 дня назад +6

    tks youtube algorithm for recommending this amazing channel

  • @esra_erimez
    @esra_erimez 24 дня назад +6

    5:40 what follows is one of the most brillant insights and explanations in computer science. You are most impressive.

  • @mehrdadkhorasani6009
    @mehrdadkhorasani6009 25 дней назад +4

    This channel is truly one of the best of our time, deserving of recognition and appreciation.

  • @maxmustermann5590
    @maxmustermann5590 21 день назад +4

    Man I just dived into the rabbit whole of büchli automata a couple of days ago and then you drop this masterpiece. Thank you!!

  • @moormoor4281
    @moormoor4281 25 дней назад +10

    Thanking you most kindly from English England

  • @Dan-km8zy
    @Dan-km8zy 25 дней назад +8

    Love your presentation and video editing style. Thanks for everything

  • @randomsearches369
    @randomsearches369 25 дней назад +11

    We love you, Kay!

  • @amichelis
    @amichelis 24 дня назад +3

    This video encapsulates so well part of what I'm trying to make right now... I'm in awe!
    Can't wait for the next one!
    (context: I'm in the process of creating a lexer-parser duo, tailored for educational purposes. It'll take the user through a step-by-step visual journey of how lexing and parsing work, enabling educators to better explain the inner workings of a compiler... Still in very early stages, only parsing is implemented currently... Wish me luck :') )

  • @jimwiley9275
    @jimwiley9275 23 дня назад +2

    Really enjoyed this one...
    Please never stop making these!

  • @esra_erimez
    @esra_erimez 24 дня назад +8

    Fun fact: Regular expressions were invented by Stephen Kleene. They were later popularized by Ken Thompson when he wrote the "ed" editor for Unix.
    Edit: I wrote this before I saw you had it in your video, once again you continue to impress.

  • @supercompooper
    @supercompooper 24 дня назад +2

    I remember this in my first year university courses. We had to write code that would convert the NDFA to a DFA 😊 takes me back

  • @404willum
    @404willum 24 дня назад +1

    Less than 3 minutes in and this is already a banger, thanks for the hard work !

  • @rafaelfreire3792
    @rafaelfreire3792 25 дней назад +4

    What a pleasant surprise! Thank you so much for these videos

  • @davidebiondani3062
    @davidebiondani3062 25 дней назад +5

    Maybe the best channel on RUclips, amazing

  • @ElaineParra
    @ElaineParra 19 дней назад

    Hey Kay I am happy we have you as reference and mentor in this journey learning programming and diving in such fundamentals in CS. What in couple of months was really challenging with discipline, effort, motivation and love for the things you like to do at the end we overcome any obstacle! Love for the 0de5

  • @Paul_ABC
    @Paul_ABC 22 дня назад +1

    Content quality is amazing. You're spoiling us

  • @klirmio21
    @klirmio21 24 дня назад +1

    Noam Chomsky, a linguist and still got influence in Computer Science world. Insane!

  • @3ombieautopilot
    @3ombieautopilot 25 дней назад +2

    Thank you for making these. Such a rare gem.

  • @Vukleidon
    @Vukleidon 24 дня назад +1

    Had me worried that you gave up on the project. Honestly I have to say over the past few weeks, this channel has become one of my favorites. I really hope you will keep on doing the great work!!!

  • @barcellos-pedro
    @barcellos-pedro 22 дня назад +2

    Wow, you are amazing! Thanks for making this video!

  • @justinbrady2900
    @justinbrady2900 25 дней назад +4

    These are the data structures we use for fast pattern matching on firewalls when scanning for malware and intrustions too, with some optimizations.
    At some point of growing the memory backing them got to hundreds of MB, scouts honor. We got yelled at.

  • @user-cg8ez7dz9l
    @user-cg8ez7dz9l 10 дней назад

    Your videos are actually excellent! This has made me a big fan

  • @jaketrzcinski8141
    @jaketrzcinski8141 19 дней назад

    Another banger, Queen! Thanks for putting this together so eloquently!

  • @Shdnfncidjen
    @Shdnfncidjen 23 дня назад +1

    Cheers and thanks for sharing! Loving your videos!

  • @ethanweller3013
    @ethanweller3013 24 дня назад

    This series is wonderful. It would be nice to have the playlist for it start with the intro and go down from there, would be much easier to watch that way.

  • @Googleguy-1
    @Googleguy-1 25 дней назад +3

    new video yay, your videos are amazing!!!

  • @thebirdhasbeencharged
    @thebirdhasbeencharged 24 дня назад

    The videos are getting cleaner and cleaner

  • @JinKee
    @JinKee 24 дня назад

    I remember learning lex and yacc back in my compiler design course. I was so proud of barely scraping by on a pass, the only person who got a HD did it by failing three subjects and his girlfriend left him.

  • @Caracuan12
    @Caracuan12 24 дня назад

    Excellent video, thanks for the detailed explanation.

  • @Brice23
    @Brice23 25 дней назад +1

    Takes me back to 2018, my first semester in computer science..

  • @br3nto
    @br3nto 24 дня назад

    Great video! I wish they had taught automata like this at uni

  • @moormoor4281
    @moormoor4281 25 дней назад +45

    Im listening

  • @br3nto
    @br3nto 24 дня назад +2

    Totally pronounced RegEx, Reg as is in Reginald because it rolls off the tongue better! Or even ReJex. It’s got good mouth feel and ear feel.

  • @isaacalves6846
    @isaacalves6846 25 дней назад +3

    Hey, I'm studying finite automata in college right now!

    • @TWinKIeAssasN
      @TWinKIeAssasN 25 дней назад

      I took compilers and automata theory last semester and it was hell 😭 that class took over my life for that whole semester

    • @bt64u30
      @bt64u30 25 дней назад

      +1

  • @emir5146
    @emir5146 24 дня назад +1

    Omg so thanks because that is what i need.

  • @joe_hoeller_chicago
    @joe_hoeller_chicago 24 дня назад

    What a great video-thank you!!!❤

  • @AlberTesla1024
    @AlberTesla1024 25 дней назад +1

    What a coincidence, i learnt FSM and state pattern. Thanks btw.

  • @cruzg3dev
    @cruzg3dev 23 дня назад

    Oh my!!! This is so gooood! Thanks!!!

  • @flippert0
    @flippert0 Час назад

    Wasn't aware about the "Clean" vs "Clay-Knee" controversy. Seemingly (or according to his son Ken Kleene), Stephen C. Kleene invented this peculiar pronunciation of his name all by his own. One remark about 'automata', though. It's a plural for 'automaton'. So it's 'several automata' but 'one automaton'.

  • @programmer1356
    @programmer1356 24 дня назад

    As usual, great stuff. Klaynee always gets me too - waaaay back we only had books and had to make up pronunciation (Runge ouch).

  • @MalikMehsi
    @MalikMehsi 24 дня назад

    Wish i would've had videos like these when i took my theoretical computer science class... Shit was brutal

  • @y9tw0t
    @y9tw0t 24 дня назад

    Another banger. Love your way of going through shit! Already eagerly anticipating your next vid -whatever it may be about.

  • @Sami_K99
    @Sami_K99 25 дней назад +2

    Heyyy, long time no see, thanks for the vid ✨

  • @alexibnz
    @alexibnz 20 дней назад

    to quote people on other social networks: am I on RUclips Premium?
    Absolutely amazing video

  • @iamblue8272
    @iamblue8272 22 дня назад

    This remember me a code wars challenge : "Regular Expression - Check if divisible by 0b111 (7)" where i had to convert a DFA into a regex. Spent hour trying on paper and never finished this kata

  • @fudencio
    @fudencio 25 дней назад +1

    amazing video.

  • @DeepVoiceSatish
    @DeepVoiceSatish 25 дней назад +1

    Thanks for providing

  • @Zaniahiononzenbei
    @Zaniahiononzenbei 25 дней назад

    I thoroughly hope you dig into the irregular expressions. :( they make me sad. They are nice features to have on occasion, but I think its beauty is someahat like C's beauty. By pushing some useful features out of scope we end up with a tool that is more obviously the right or wrong tool at a given time. C did this with the preprocessor, calling conventions, dynamic dependencies, and symantics for threading. They're all externally defined, and they're all hard problems that need to be solved. There's a lot in regex libraries that feels like its a cool tool, but it feels weird that its there.

  • @cincooitodois
    @cincooitodois 23 дня назад

    youre da best, kay!

  • @joel.9543
    @joel.9543 5 дней назад

    Nice video!
    I have some technical questions:
    What do you use to make animations?
    What video editor do you use?

  • @lterego
    @lterego 24 дня назад

    A lot and very good content in such a short clip. Just a nitpick: at 19:46 "any_char" creeps in instead of "single_char"... some tests work just because the string length are the same as for correct strings (and what should be incorrect strings).

  • @WhizPill
    @WhizPill 17 дней назад

    Interesting channel

  • @LeonMerk123
    @LeonMerk123 24 дня назад

    Amazing video

  • @martinsanchez-hw4fi
    @martinsanchez-hw4fi 24 дня назад

    It would be nice to have a video on the lexic analysiss a compiler does

  • @SnuffPuppyLexy
    @SnuffPuppyLexy 24 дня назад

    Thank you so much

  • @jarno4054
    @jarno4054 24 дня назад

    Half of my semester in 30 minutes 🙏

  • @unbearablepun8608
    @unbearablepun8608 24 дня назад

    This would’ve been so helpful a semester ago 😭

  • @Satyam1010-N
    @Satyam1010-N 24 дня назад

    Happy deepawali light a candle lamps (100+)at main house , may the light remove all kind of darknes self doubt bad habits bad thoughts , your life lights up , happy deepawali Kay

  • @demerzel3333
    @demerzel3333 24 дня назад

    great content, this has way less views than it deserves

  • @SimGunther
    @SimGunther 24 дня назад

    Simply put, regex needs to be transformed into an NFA before that turns into a DFA that can simplified and transformed into a table driven automaton for those nice tight loops in code 😊

    • @JayDee-b5u
      @JayDee-b5u 23 дня назад

      I think I have an implementation that doesn't require shunting yard nor dfa/nfa. A simple pratt parser and binary (and unary) tree is all that is needed. :)

  • @raelwert2344
    @raelwert2344 24 дня назад

    Love your channel! Let me know if you are still looking for a copy of regular expressions and state graphs!

  • @imlemonth
    @imlemonth 24 дня назад

    This makes me wanna do it myself in python 😅

  • @brulsmurf
    @brulsmurf 24 дня назад

    @6:00 I felt nothing but the void within.

  • @mo938
    @mo938 23 дня назад

    You’re so smart! Makes me feel dumb lol

  • @painfullyhuman
    @painfullyhuman 25 дней назад +1

    taking theory of automata and computability soon so this is good

  • @ponirvea
    @ponirvea 25 дней назад

    great video! i think you forgot a cut around 15:32

  • @zweitekonto9654
    @zweitekonto9654 20 часов назад

    the code highlighting lacks a bit of contrast which makes it difficult to read.

  • @ngideo
    @ngideo 24 дня назад

    Languages! Now we're cookin'!

  • @eterr9000
    @eterr9000 25 дней назад

    I recently learned about LISP Scheme and I am noticing something that looks like Scheme expression 👀

  • @bananaear23
    @bananaear23 24 дня назад

    Ur back wohooo

  • @josephlagrange9531
    @josephlagrange9531 24 дня назад

    Hi, Kay!

  • @Truth-p7c
    @Truth-p7c 23 дня назад

    Wow

  • @ДаниилИмани
    @ДаниилИмани 10 дней назад

    Please, rearrange the ODE5 megalist in chronological order

    • @neoeno4242
      @neoeno4242  8 дней назад +1

      Have now done - apologies, I thought that was a viewer-setting but I now realise it is mine!

  • @zenkira_
    @zenkira_ 17 дней назад

    holy graph

  • @peterbann4759
    @peterbann4759 24 дня назад

    I think they are included in Python (I'm learning Python)

  • @whtiequillBj
    @whtiequillBj 16 дней назад

    your 0DE5 playlist is backwards

  • @Johnmoe_
    @Johnmoe_ 24 дня назад

    I see regex I click 😊

  • @chrisleon27
    @chrisleon27 23 дня назад

    Cellular automata

  • @eduardrieraraurell3328
    @eduardrieraraurell3328 23 дня назад

    the regular expression for even number of a's should be (h*ah*ah*)* isn't it?

  • @starlonga
    @starlonga 24 дня назад

    I pronounced it as «Clean» (Klenee)

  • @ahmedAltariqi
    @ahmedAltariqi 24 дня назад

    What tool you used to make the slides?

  • @kevinbatdorf
    @kevinbatdorf 24 дня назад

    Where is chapter 1?

  • @emilien.breton
    @emilien.breton 10 часов назад

    automaton. it's automaton. "automata" is plural

  • @ProgrammingRainbow
    @ProgrammingRainbow 20 дней назад

    Thanks for making me feel like the grug brain. The whole time youre talking about regex and with the diagrams all im hearing is Category Theory. Wondering if this is turning into a haskell video. And then think its funny to equate recursion to a turing machine? Not lambada Calculus. Im going to have to watch a couple times to get my 🧠 to understand this all.

  • @illegalsmirf
    @illegalsmirf 25 дней назад

    Hiya hun! I love regular expressions, just wish I was intelligent enough to understand them 🍆

  • @demerzel3333
    @demerzel3333 24 дня назад +1

    🏺🦵

  • @KTLO-m8p
    @KTLO-m8p 25 дней назад

    What’s the link to the membership only site?

  • @QW3RTYUU
    @QW3RTYUU 17 дней назад

    F lifting

  • @nskazki
    @nskazki 13 дней назад

    /^ha+(ha+)*h$/

    • @nskazki
      @nskazki 13 дней назад +1

      Then I saw the author’s answer and was blown by how I couldn’t see the obvious repetition of the “ha+” pattern. Neat

  • @ralffig3297
    @ralffig3297 21 день назад +1

    My brain is confused. I see one thing but hear another.

  • @Microphunktv-jb3kj
    @Microphunktv-jb3kj 24 дня назад

    why are they called regular expressions.,..
    is there irregular expressions? :D