tarcieri / reia

Ruby-like hybrid OOP/functional programming language for BEAM, the Erlang VM

Home Page:http://reia-lang.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

regexp fails

pirj opened this issue · comments

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}]