Errata
The errata list is a list of errors and their corrections that were found after the product was released.
The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.
Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
Version | Location | Description | Submitted by | Date Submitted |
---|---|---|---|---|
Printed | Page 70 second "$text" substitution and explanation |
The problem of duplicate <p> tags can also be solved with one substitution: |
Gregory Sherman | Jul 08, 2022 |
Printed | Page 70 second "$text" substitution and explanation |
$text =~ s/^\s*$/<p>/mg; |
Gregory Sherman | Jul 06, 2022 |
Printed | Page 167 Regex example after 2nd paragraph and the next regex example after 3rd paragraph |
Book gives <B>((?!<B>).)*?</B> (first Regex on p. 167, after 2nd paragraph), while this gives a full match of <B>zillions</B>, it only captures the s in zillions |
Eric Dorsey | Feb 07, 2020 |
Printed | Page 339 run explanations |
"... if we invoke the exact same call again, the second time shows: |
Gregory Sherman | Jan 26, 2020 |
Printed | Page 336 first code block and following text |
"... when applied to '123 abc 73xyz' it's left with a value of two ..." |
Gregory Sherman | Jan 26, 2020 |
Printed | Page 270 regex at bottom of page |
This one is presented as a faster solution to the continuation-line problem. |
Gregory Sherman | Jan 26, 2020 |
Printed | Page 187 2 regexes in top section and text |
^\w+=[^\n\\]*(\\n[^\n\\]*)* |
Gregory Sherman | Jan 26, 2020 |
77 Top |
The first regex for "That Double-Word Thing" is displayed as (note the double '<'): |
Jon S | Dec 09, 2013 | |
52 Middle |
$price =~ s/(\.\d\d[1-9]?)d*/$1/ |
Jon S. | Dec 09, 2013 | |
Printed, PDF | Page 162 4th marked regex |
The closing parenthesis ) after the "end of regex" mark is not inside the regex but should be inside. |
Julian R. | Sep 14, 2013 |