Re: [Bug-apl] Regex support

2017-09-24 Thread Giuseppe Cocomazzi
Hi list, I really like Elias' former simple API, that is: > The way I envision this to work, is to have the function return ⍬ if there > is no match, or a string containing the match, if there is one: > > 'f..' ⎕Regex 'xzooy' > ┏⊖┓ > ┃0┃ > ┗━┛ > 'f..' ⎕Regex 'xfooy' > 'foo' > > If the

Re: [Bug-apl] Regex support

2017-09-24 Thread Elias Mårtenson
Dyalog's implementation is much more expressive than what I had proposed. There are technical reasons why we have no hope of replicating their functionality (in particular, GNU APL does not have support for namespaces). Their function takes arguments and returns a function, which is a matcher fun