August 2017
Intermediate to advanced
278 pages
8h 53m
English
The rewrite rules use Perl Compatible Regular Expressions (PCRE), which is a pattern matching system for textual content. While the more complex scenarios can be quite complex to read, you can quickly grasp the basics by understanding the basics of the syntax. Here's a reference table:
|
Syntax |
Meaning |
|
^ |
The start of the string to match |
|
$ |
The end of the string to match |
|
. |
Any character (except newline) |
|
\d |
Any digit |
|
\D |
Any non-digit |
|
\w |
Word, meaning letters, digits, and underscore (_) |
|
* |
Zero or more of the previous expression |
|
+ |
One or more of the previous expression |
|
? |
Zero or one of the previous expression |
|
() |
Group the expression to allow the subexpression to be ... |
Read now
Unlock full access