render('../common/inc-table-filter');?>
    $line ):?>
  1. '; continue; } // may be a comment line if( '#' === $line{0} ){ // may be able to parse out references if( isset($line{1}) ){ $symbol = $line{1}; $line = substr($line,2); if( ':' === $symbol ){ echo '#:',preg_replace('/\\S+:\d+/', '\\0', $params->escape($line) ),''; } // parse out flags and formatting directives else if( ',' === $symbol ){ echo '#,',preg_replace('/[-a-z]+/', '\\0', $params->escape($line) ),''; } // else treat as normal comment even if empty else { echo '#',$symbol,'',$params->escape($line),''; } } // else probably an empty comment else { echo '',$params->escape($line),''; } continue; } // grab keyword if there is one before quoted string if( preg_match('/^(msg[_a-z0-9\\[\\]]+)(\s+)/', $line, $r ) ){ echo '',$params->escape($r[1]),'',$params->escape($r[2]),''; $line = substr( $line, strlen($r[0]) ); } // remainder of line (or whole line) should be a quoted string if( preg_match('/^"(.*)"\s*$/', $line, $r ) ){ echo '"',$params->escape($r[1]),'"'; continue; } // else print whatever junk is left of line echo '',$params->escape($line),''; ?>