Ayende Rahien | 28 Jan 22:00

Booc?

I can’t get the following code to compile using booc or booi:

 

ayende = regex('ayende')

print ayende.IsMatch("Ayende")

print ayende.IsMatch("ayende")

 

Strangely, in SD it works as expected.

 

D:\Code\>booi -

ayende = regex('ayende')

print ayende.IsMatch("Ayende")

print ayende.IsMatch("ayende")

^Z

<stdin>(1,10): BCE0005: Boo.Lang.Compiler.CompilerError: Unknown identifier: regex.


Gmane