-fixed crash in a debug printing - pattern may be NULL
 Reproted by Nathaniel L Keeling III