Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changeset 3355

Show
Ignore:
Timestamp:
03/15/08 06:16:52 (9 months ago)
Author:
jascha
Message:

- split wasn't passing through the input if no match was found (closes #980)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/tango/text/Regex.d

    r3339 r3355  
    39093909        auto res = new char_t[][PREALLOC]; 
    39103910        uint index; 
    3911         char_t[] tmp
     3911        char_t[] tmp = input
    39123912 
    39133913        foreach ( r; search(input) )