Mastering Profanity-Free Text: Using Regular Languages & DFA 🚫

Learn how to prevent bad words in your text with simple regular expressions and deterministic finite automata. Easy theory to keep your language clean!

Mastering Profanity-Free Text: Using Regular Languages & DFA 🚫
Easy Theory
350 views • Jun 19, 2021
Mastering Profanity-Free Text: Using Regular Languages & DFA 🚫

About this video

Here we show how to not swear or say "bad words", with a regular expression and a DFA. By this, we mean all strings over {a, b, c, d} that avoid a particular substring abcd. Feel free to substitute your favorite 4-letter swear word!

Timeline:
0:00 - Regex for Not Swearing
5:53 - DFA for Not Swearing

Easy Theory Website: https://www.easytheory.org
Become a member: https://www.youtube.com/channel/UC3VY6RTXegnoSD_q446oBdg/join
Donation (appears on streams): https://streamlabs.com/easytheory1/tip
Paypal: https://paypal.me/easytheory
Patreon: https://www.patreon.com/easytheory
Discord: https://discord.gg/SD4U3hs

#easytheory

Youtube Live Streaming (Sundays) - subscribe for when these occur.

Social Media:
Facebook Page: https://www.facebook.com/easytheory/
Facebook group: https://www.facebook.com/groups/easytheory/
Twitter: https://twitter.com/EasyTheory

Merch:
Language Hierarchy Apparel: https://teespring.com/language-hierarchy?pid=2&cid=2122
Pumping Lemma Apparel: https://teespring.com/pumping-lemma-for-regular-lang

If you like this content, please consider subscribing to my channel: https://www.youtube.com/channel/UC3VY6RTXegnoSD_q446oBdg?sub_confirmation=1

▶SEND ME THEORY QUESTIONS◀
ryan.e.dougherty@icloud.com

▶ABOUT ME◀
I am a professor of Computer Science, and am passionate about CS theory. I have taught many courses at several different universities, including several sections of undergraduate and graduate theory-level classes.

Tags and Topics

Browse our collection to discover more content in these categories.

Video Information

Views

350

Likes

20

Duration

11:10

Published

Jun 19, 2021

Related Trending Topics

LIVE TRENDS

Related trending topics. Click any trend to explore more videos.