[Info-vax] DCL and scripting
John Reagan
xyzzy1959 at gmail.com
Tue Dec 11 14:39:41 EST 2018
On Tuesday, December 11, 2018 at 2:15:41 PM UTC-5, Arne Vajhøj wrote:
> On 12/11/2018 1:42 PM, Jairo Alves wrote:
> >> DCL design and design compromises also skew heavily toward interactive
> >> command input, and away from scripting and away from system and data
> >> access features. Away from modern string handling, too; no regex, no
> >
> > Couldn't regex be added as a lexical function?
>
> Yes.
>
> F$REGEX_MATCH would not be that difficult.
>
> Arne
Besides the "match"/"nomatch" result, I assume you'd also like capturing syntax like you see in Perl regex strings? (aka \1 and $1)
The biggest obstacle in shoving a regex into the middle of DCL is making sure the license is suitable. For instance, we can't/won't put a piece of GPL code into DCL.EXE.
More information about the Info-vax
mailing list