digitalmars.D - Regular expressions compiled?
- Martin <Martin_member pathlink.com> Jun 29 2005
- "Craig Black" <cblack ara.com> Jun 29 2005
- "Walter" <newshound digitalmars.com> Jun 29 2005
Does D have a capability to compile regular expressions (with compiling other source code)? Interpreted regular expressions are much slower than compiled ones. Can anyone tell if D has this capability or will get it in the future?
Jun 29 2005
Does D have a capability to compile regular expressions (with compiling other source code)?
No. The regular expression support is a part of the Phobos run-time library.Interpreted regular expressions are much slower than compiled ones.
Stands to reason.Can anyone tell if D has this capability or will get it in the future?
Maybe in the distant future. I would not expect this to be a huge priority for Walter. -Craig
Jun 29 2005
"Martin" <Martin_member pathlink.com> wrote in message news:d9trd1$s03$1 digitaldaemon.com...Does D have a capability to compile regular expressions (with compiling
source code)? Interpreted regular expressions are much slower than compiled ones. Can anyone tell if D has this capability or will get it in the future?
The regular expression support is completely done in std.regexp, the compiler/language knows nothing about it.
Jun 29 2005









"Craig Black" <cblack ara.com> 