Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002835 [Quercus] major always 08-11-08 12:50 08-14-08 10:38
Reporter stephaneeybert View Status public  
Assigned To nam
Priority normal Resolution fixed  
Status closed   Product Version 3.1.6
Summary 0002835: $value = ereg_replace("(\r\n|\n|\r)$", '', $value); does not remove line breaks on Resin
Description The following function call does not remove line breaks.

// Remove the trailing line break
$value = ereg_replace("(\r\n|\n|\r)$", '', $value);

It works fine on PHP but not in Resin.

I use it to remove line breaks in language string resources.
Additional Information I attached a language resource file.
Attached Files  .compose.fr.php [^] (1,275 bytes) 08-11-08 12:50

- Relationships

- Notes
(0003331)
nam
08-14-08 10:38

php/153e
 

- Issue History
Date Modified Username Field Change
08-11-08 12:50 stephaneeybert New Issue
08-11-08 12:50 stephaneeybert File Added: .compose.fr.php
08-11-08 15:40 nam Project Resin => Quercus
08-14-08 10:38 nam Status new => assigned
08-14-08 10:38 nam Assigned To  => nam
08-14-08 10:38 nam Status assigned => closed
08-14-08 10:38 nam Note Added: 0003331
08-14-08 10:38 nam Resolution open => fixed
08-14-08 10:38 nam Fixed in Version  => 3.2.1


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker