bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] Regex support


From: Elias Mårtenson
Subject: Re: [Bug-apl] Regex support
Date: Fri, 22 Sep 2017 22:59:41 +0800

I did not know this. I took a look at Dyalog's API and it's not possible to implement it fully, as it relies on their object oriented features. However, the basic functionality wouldn't be hard to replicate, if that is something that is desired.

Jürgen, what is your opinion on this?

On 22 September 2017 at 20:21, Jay Foad <address@hidden> wrote:
FYI Dyalog has operators ⎕S (search) and ⎕R (replace) which are implemented with PCRE:

      ('[Aa]..'⎕S'&')'Dyalog APL'
┌───┬───┐
│alo│APL│
└───┴───┘
      ('red' 'green'⎕R'green' 'blue')'red orange yellow green blue'
green orange yellow blue blue


Jay.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]