why explicitly use "flags" in regex does not work?

Basile B. b2.temp at gmx.com
Sat Jun 23 13:25:52 UTC 2018


On Saturday, 23 June 2018 at 12:50:17 UTC, biocyberman wrote:
> On Saturday, 23 June 2018 at 12:20:10 UTC, biocyberman wrote:
>>
>> I got "Error: undefined identifier flags" in here:
>>
>> https://run.dlang.io/is/wquscz
>>
>> Removing "flags =" works.
>
> I kinda found an answer. It's a bit of a surprise anyway: 
> https://forum.dlang.org/thread/wokfqqbexazcguffwiif@forum.dlang.org?page=1
>
> Long story short, "named" parameter function calling still does 
> not work.

Indeed and i'm surprised you didn't know that. The topic has been 
discussed several times and will be again in the next weeks and 
months since there are 2 DIP for the feature:

[1] https://github.com/dlang/DIPs/pull/123
[2] https://github.com/dlang/DIPs/pull/126



More information about the Digitalmars-d-learn mailing list