Programming with ECMAScript 2015 : New Features in RegEx | packtpub.com

60 views · Published 12 May 2017 · 11:55 · Indexed 31 October 2026

Channel: Packt · 2017 · Science & Technology

Watch on YouTube

This playlist/video has been uploaded for Marketing purposes and contains only selective videos. 

For the entire video course and code, visit [http://bit.ly/2pFcFKg].

ECMAScript 2015 introduces certain additions to the Regular Expression object. It introduces 2 new flags and 4 methods. 
• The new flags introduced in ECMAScript 2015 are Sticky (y) and Unicode (u). Sticky flag will make a regex search sticky, that is, will match the from lastIndex property and ignore later indexes. 
• New methods introduced in the RegEx object are as follows: match(), replace(),search() and split(). 
• With the new flags and new methods, the RegEx object gets a facelift in ECMAScript 2015. 

For the latest Web development video tutorials, please visit
http://bit.ly/1KYwKQ5


Find us on Facebook -- http://www.facebook.com/Packtvideo
Follow us on Twitter - http://www.twitter.com/packtvideo

More from this channel