tarcieri / reia

Ruby-like hybrid OOP/functional programming language for BEAM, the Erlang VM
http://reia-lang.org
MIT License
775 stars 36 forks source link

regexp fails #2

Closed pirj closed 14 years ago

pirj commented 15 years ago

regexp fails when is being run from .re file:

ire:

/.a./.match("1a1") => "1a1"

pirj-2:~/source philpirj$ reia ch.re Loading standard library from /usr/local/lib/erlang/lib/reia/lib... done. exception: {exception,{error,function_clause}} stacktrace: [{'Atom',funcall,[{nil,puts,[]},nil]}, {erl_eval,do_apply,5}, {eval_shim,exprs,2}, {reia_erl,erl_funcall,3}, {'Eval',exprs,2}, {'Eval',string,2}, {'Loader',eval_input,2}, {reia,apply,4}]