Re: using regex at compiletime

2014-06-15 Thread Dicebot via Digitalmars-d-learn
AFAIK you can _generate_ regex at compile-time but not actually use it.

using regex at compiletime

2014-06-15 Thread gedaiu via Digitalmars-d-learn
Hi, I am trying to use regex at compile time for pasing of some html files. The code works perfect at runtime but at compile time i get this error: /usr/include/dmd/phobos/std/regex.d(5824): Error: malloc cannot be interpreted at compile time, because it has no available source code /usr/