April 03, 2023 Learn » Re: foreach (i; taskPool.parallel(0..2_000_000) | |||
|---|---|---|---|
| |||
...ref CommPair[] commPair, string filename) {
import std.regex;
auto s = readText(filename);
auto ctr = ctRegex... | |||
March 31, 2023 General » Trying to do alias template deduction myself. | |||
|---|---|---|---|
| |||
...fail
// import std.regex;
// import std.traits;
// static assert(isInstanceOf!(Regex, Regex!char)); // now fails... | |||
March 22, 2023 General » Re: Does `is` expression with template alias need fixing. | |||
|---|---|---|---|
| |||
...they are using an alias from std (`Regex`), as long as the compiler will generate... | |||
March 22, 2023 General » Re: Does `is` expression with template alias need fixing. | |||
|---|---|---|---|
| |||
...they are using an alias from std (`Regex`), as long as the compiler will generate... | |||
March 20, 2023 Learn » Re: Read a text file at once for regex searching | |||
|---|---|---|---|
| |||
Thanks Adam. | |||
March 20, 2023 Learn » Re: Read a text file at once for regex searching | |||
|---|---|---|---|
| |||
Try
static import std.file;
string s = std.file.readText("filename.txt");
http://phobos.dpldocs... | |||
March 20, 2023 Learn » Read a text file at once for regex searching | |||
|---|---|---|---|
| |||
I've been looking through our Library documentation and having trouble finding what I want... | |||
March 19, 2023 Learn » Difference between using `import` with/without the colon | |||
|---|---|---|---|
| |||
...as an example: ```d import std.regex; import std.regex : matchFirst; ``` What technical differences does... | |||
March 17, 2023 General » Re: Does `is` expression with template alias need fixing. | |||
|---|---|---|---|
| |||
...isInstanceOf` doesn't work as expected, because `Regex` is an alias, and `isInstanceOf` internally uses... | |||
March 17, 2023 General » Re: Does `is` expression with template alias need fixing. | |||
|---|---|---|---|
| |||
...that `Regex` is an alias, and `isInstanceOf` can't do its job because `Regex` is... | |||
Copyright © 1999-2021 by the D Language Foundation