Skip to Main Content
Eloquent JavaScript
book

Eloquent JavaScript

by Marijn Haverbeke
January 2011
Intermediate to advanced content levelIntermediate to advanced
224 pages
5h 43m
English
No Starch Press
Content preview from Eloquent JavaScript

Conclusion

Right now, the most important thing to know about regular expressions is that they exist and can make your string-mangling code much shorter. In fact, there is quite a lot more to learn about regular expressions than the material found in this chapter. Look around on the Internet, if you feel like it—the syntax used by JavaScript’s regular expressions is called Perl Compatible Regular Expressions and is found in a lot of other programming languages as well.

This syntax is so cryptic that you’ll probably have to go look up the details the first 10 or so times you need to use it. Persevere, and you will soon be writing brilliantly complicated, occult-looking expressions.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Eloquent JavaScript, 3rd Edition

Eloquent JavaScript, 3rd Edition

Marijn Haverbeke
Learn JavaScript

Learn JavaScript

Shaun Wassell

Publisher Resources

ISBN: 9781593272821Errata