stackyFACTS
Technology

A bad regular expression can freeze an entire app

HERE’S THE INTERESTING PART

Write one bad search pattern and watch your processor burst into flames. If a complex regular expression gets confused, it can enter a loop of guessing and second-guessing its text matches, freezing the entire application in a state of infinite panic.

A bad regular expression can freeze an entire app
STACKY / Technology
One discovery leads to another.

Keep exploring facts in this topic.

Technology →
STACKY FOR IPHONE

A bigger world.
One discovery
at a time.

Keep discovering with Stacky. Interesting facts in an app that is always within reach.

Download on the App Store
ONE MORE DISCOVERY?

Keep exploring

All in this topic →
Technology

A programming language built from Schwarzenegger quotes

Action heroes clearly make the best compilers. This fully functional programming language requires every single command to be a famous blockbuster one-liner,…

Discover more
Why regular expressions look like gibberish
Technology

Why regular expressions look like gibberish

A text-matching script that is so densely packed with arcane symbols, slashes, and brackets that it is completely unreadable to anyone who didn't personally…

Discover more
Ada Lovelace, an English mathematician born in 1815, is widely recognized as the world's first computer programmer because she wrote an algorithm for Charles Babbage's…
Technology

Ada Lovelace, an English mathematician born in 1815, is widely recognized as the world's first computer programmer because she wrote an algorithm for Charles Babbage's…

Ada Lovelace, an English mathematician born in 1815, is widely recognized as the world's first computer programmer because she wrote an algorithm for Charles…

Discover more
Why JSON won’t let you add comments
Technology

Why JSON won’t let you add comments

The creator intentionally removed the ability to add descriptive comments to these files. This was done specifically out of spite, to force people to stop…

Discover more
Why Rust developers won't stop talking about Rust
Technology

Why Rust developers won't stop talking about Rust

Writing memory-safe logic apparently alters a developer's personality into an aggressive digital vegan. Because the language prevents specific crash…

Discover more
Without an exit condition, a recursive function can crash a program by overflowing its stack
Technology

Without an exit condition, a recursive function can crash a program by overflowing its stack

A function commanding itself to run again is the digital equivalent of holding two mirrors facing each other. If the exit condition is poorly written, the…

Discover more
StackyMore discoveries in the app
Download on the App Store