Course contentsShow
JavaScript
Lesson 1727 of 2,72336. Regular ExpressionsPro lesson

Sticky Mode with 'y'

How the 'y' flag enforces matching at the exact lastIndex position without searching ahead.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.