regexp fails
pirj opened this issue · 0 comments
pirj commented
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}]