[Info-vax] DCL and scripting

Arne Vajhøj arne at vajhoej.dk
Thu Dec 13 18:40:35 EST 2018


On 12/12/2018 11:32 PM, Dave Froble wrote:
> On 12/12/2018 9:16 PM, Arne Vajhøj wrote:
>> On 12/12/2018 8:58 PM, Arne Vajhøj wrote:
>>> On 12/12/2018 8:34 PM, Dave Froble wrote:
>>>> On 12/12/2018 7:49 PM, Arne Vajhøj wrote:
>>>>> Regex is a bit cryptic. But it can be useful.
>>>>>
>>>>> But I will say that all programmers should know SQL, regex and XPath.
>>>>
>>>> I know some SQL.  I don't even know what regex and xpath is.
>>>
>>> regex is a way to find patterns in text.
>>>
>>> XPath is a way to select parts of an XML document.
>>>
>>>>                                                              I guess
>>>> according to you I should stick to flying.  Oh well, much more fun
>>>> anyway.
>>>>
>>>> Now if it would just warm up ....
>>>
>>> Or maybe something to study during Christmas vacation.
>>>
>>> :-)
>>
>> Simple XPath example in VB.NET:

[code omitted]

> Well, look at what you've done.  Now I seem to know more than I wanted 
> to know.
> 
> Ok, sorry, a bit, for being a wise ass.  It just comes so natural.
> 
> I don't do much with text, and I seem to do quite well with Instr and 
> Parse with XML, which I really do not like, when I need to.
> 
> As I may have mentioned before, I like things to be rather easy to 
> understand, and I'll take that over complex and powerful many times.

For both regex and XPath I think it works a bit like:

have learned about them => super simple and easy to read

have not learned about them => is this ancient Egyptian put through an 
AES-256 encryption?

:-)

> But I believe you were trying to be helpful, and for that, thank you.

Arne



More information about the Info-vax mailing list