--- loncom/build/lpml_parse.pl 2002/03/22 01:55:04 1.41 +++ loncom/build/lpml_parse.pl 2002/03/22 02:09:41 1.42 @@ -3,7 +3,7 @@ # The LearningOnline Network with CAPA # lpml_parse.pl - Linux Packaging Markup Language parser # -# $Id: lpml_parse.pl,v 1.41 2002/03/22 01:55:04 harris41 Exp $ +# $Id: lpml_parse.pl,v 1.42 2002/03/22 02:09:41 harris41 Exp $ # # Written by Scott Harrison, harris41@msu.edu # @@ -1455,7 +1455,7 @@ sub format_build { if ($text) { $parser->get_tag('/build'); $build=$sourceroot.'/'.$text.';'.$tokeninfo[2]{'trigger'}; - $build=~s/[^\\]\\\s+//g; # allow for having lines split onto new lines + $build=~s/([^\\])\\\s+/$1/g; # allow for lines split onto new lines } return ''; }