--- lib/A3C/PHP.pm 2008/05/30 22:02:19 140 +++ lib/A3C/PHP.pm 2008/06/03 10:23:52 148 @@ -93,13 +93,13 @@ string: double_quoted | single_quoted -double_quoted: /".*?"/ +double_quoted: /"(\\"|[^"])*?"/ { $item[1] =~ s/\@/\\\@/g; $return = $item[1]; } -single_quoted: /'.*?'/ +single_quoted: /'(\\'|[^'])*?'/ element: scalar | bareword