Errata

Automating InDesign with Regular Expressions

Errata for Automating InDesign with Regular Expressions

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date submitted Date corrected
Printed
Page 25
Line 3 in code

Change this line:
var initials = txt.match( /[A-Z](.s?[A-Z])+.(?=s[A-Z][a-z])/g );
to this:
var initials = txt.match( /[A-Z](.s?[A-Z])+.(?=s[A-Z][a-z])/g );

Note from the Author or Editor:
change this:
var initials = txt.match( /[A-Z](.s?[A-Z])+.(?=s[A-Z][a-z])/g );

to:
var initials = txt.match( /[A-Z](.\s?[A-Z])+.(?=s[A-Z][a-z])/g );

Anonymous   
Printed
Page 26
Second text paragraph

Please replace this:
underscores instead of spaces and everything in lower case
with this:
underscores instead of spaces and everything in upper case

Note from the Author or Editor:
(But title not relevant any longer.)

Anonymous   
Printed
Page 29
2nd-to-last line in first paragraph under "Look before you leap"

Please change Knox-Johnson to Knox-Johnston

Anonymous