DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
Node.js Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
hard
Node.js
What's the underlying mechanism that makes ReDoS possible on certain regex patterns?
A
A bug specific to Node.js's regex engine only
B
Exponential backtracking behavior on certain nested/overlapping quantifier patterns, given specifically crafted input
C
It only happens with regular expressions longer than 100 characters
D
It's caused by using regex literals instead of the RegExp constructor
Check Answer