On Saturday, 20 September 2014 at 15:28:54 UTC, seany wrote:
consider this:
import std.conv, std.algorithm;
import core.vararg;
import std.stdio, std.regex;
void main()
{
string haystack = "ID : generateWorld;
Position : { &
On Saturday, 20 September 2014 at 15:28:54 UTC, seany wrote:
In haystack, there are two such "ID :" -s. once at the
beginning, ID : generateWorld. and then the final, last ID
However, this is returning all 5 ID-s as match
what am I doing wrong?
Prints
ID :
ID :
for me.
I'd advise against
consider this:
import std.conv, std.algorithm;
import core.vararg;
import std.stdio, std.regex;
void main()
{
string haystack = "ID : generateWorld;
Position : { &