IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 9162


Ignore:
Timestamp:
Oct 3, 2006, 3:25:05 PM (20 years ago)
Author:
jhoblitt
Message:

fix the trailing white space left in string values when followed by a comment

Location:
trunk/PS-IPP-Metadata-Config
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/PS-IPP-Metadata-Config/Changes

    r9019 r9162  
    330.06
    44    - fix Build.PL script to not throw and error when $parser does not exist
     5    - fix the trailing white space left in string values when followed by a
     6      comment
    57
    680.05 Mon Sep 25 12:06:22 HST 2006
  • trunk/PS-IPP-Metadata-Config/MANIFEST

    r8950 r9162  
    2020t/06_multi.t
    2121t/07_floats.t
     22t/08_strings.t
  • trunk/PS-IPP-Metadata-Config/config_grammar.txt

    r8940 r9162  
    11# Copyright (c) 2005  Joshua Hoblitt
    22#
    3 # $Id: config_grammar.txt,v 1.3 2006-09-25 21:49:42 jhoblitt Exp $
     3# $Id: config_grammar.txt,v 1.4 2006-10-04 01:25:05 jhoblitt Exp $
    44
    55{
     
    314314string:
    315315    /(?:\S[^#\n]*)?[^#\n ]/
     316        # trim tailing the trailing white that's left when the string is
     317        # followed by a comment (#)
     318        {
     319            $item[1] =~ s/\s*$//;
     320            $return = $item[1];
     321        }
    316322
    317323word:
Note: See TracChangeset for help on using the changeset viewer.