Hello Developers,
While I was checking out the Regex generator, I think I found a little issue.
If you try to use the negotiation of \d, \w or \s, like \D, \W or \S for $regex, the generated output of:
$grammar = new Hoa \file \Read(‘hoa://Library/Regex/Grammar.pp’);
$compiler = Hoa \Compiler \Llk \Llk::load($grammar);
$parsed = $compiler->parse($regex);
$generator = new Hoa \Regex \Visitor \Isotropic(new Hoa \Math \Sampler \Random());
var_dump($generator->visit($parsed));
…is:
string(1) “?”
So I’d like to ask, if its an uncovered issue, or if I’m using the wrong functions.
Greetings Maik