March 2017
Intermediate to advanced
821 pages
18h 21m
English
Any sequence of characters that's not a special RegEx character or operator represents a character literal:
var pattern = /orange/;
We mean o followed by r followed by a followed by n followed by …—you get the point. We rarely use exact match when using RegEx because that is the same as comparing two strings. Exact match patterns are sometimes called simple patterns.
Read now
Unlock full access