Hi Elias, I am generally in favour of supporting regular expressions in GNU APL. We should do that in a way that is compatible with the way in which the most commonly used libraries do that (even if they are lacking some features that more exotic libraries may have. Unfortunately I do not have a full overview of all (or even any) existing libraries. I personally love grep and hate perl (the latter not only because of their regexes). I would like to avoid constructs like s/aaa/bbb/ where operations are kind of text-encoded into strings. That is, IMHO, a hack-ish programming style and should be replaced by a more APL-alike syntax such as 'aaa' ⎕REX['s'] 'bbb' or maybe 's' ⎕REX 'aaa' 'bbb'. Or, if the number of operations is small (perl seems to have only 2, not counting the translate which is already covered by other APL functions), then we could also have different ⎕-functions for them and thus avoiding a third argument. Everybody else, please feel invited to join the discussion. Best Regards, Jürgen Sauermann On 09/20/2017 05:59 AM, Elias Mårtenson
wrote:
|
- [Bug-apl] Regex support Elias Mårtenson
- Re: [Bug-apl] Regex support Giuseppe Cocomazzi
- Re: [Bug-apl] Regex support Elias Mårtenson
- Re: [Bug-apl] Regex support Juergen Sauermann
- Re: [Bug-apl] Regex support Xiao-Yong Jin
- Re: [Bug-apl] Regex support enztec
- Re: [Bug-apl] Regex support Peter Teeson
- Re: [Bug-apl] Regex support Xiao-Yong Jin
- Re: [Bug-apl] Regex support Elias Mårtenson
- Re: [Bug-apl] Regex support Juergen Sauermann
- Re: [Bug-apl] Regex suppo... Elias Mårtenson
- Re: [Bug-apl] Regex support Blake McBride
- Re: [Bug-apl] Regex support Juergen Sauermann
- Re: [Bug-apl] Regex support Peter Teeson