[Bug XEmacs-21.4.5] regexp matching won't always work