pico-engine
pico-engine copied to clipboard
Compiler should make regular expression binding in select clause available to foreach clause
Currently a rule like this one
rule test_foreach {
select when foreach content
content re#(.+)# setting(content)
foreach content.split(":") setting(string)
send_directive("content",{"substring":string})
}
sees the name content
bound to the value null
in the foreach
clause
Matthew says, "that looks like a compiler bug."