Closed (won't fix)
Project:
Drupal core
Version:
6.x-dev
Component:
base system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Oct 2007 at 13:05 UTC
Updated:
20 Jun 2011 at 15:49 UTC
Jump to comment: Most recent file
Comments
Comment #1
bjaspan commentedThe fix is to replace the regexp
/^\$\d+$/with /\A\$\d+\z/. \A matches start-of-string and \z matches end-of-string, independent of line mode. Thus, \z will not accept the trailing newline in the text case I posted and correctly fail to match.Comment #2
bjaspan commentedI actually think packer should be removed from core (see http://drupal.org/node/183940) but, until then, here's a patch.
Comment #3
steven jones commentedWe removed packer from core, so this isn't an issue any more.