POV-Ray : Newsgroups : povray.off-topic : Other people dislike regexes too Server Time
29 Jul 2024 10:26:21 EDT (-0400)
  Other people dislike regexes too (Message 31 to 32 of 32)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Kevin Wampler
Subject: Re: Other people dislike regexes too
Date: 19 Jul 2012 20:59:18
Message: <5008ad66$1@news.povray.org>
On 7/19/2012 3:14 PM, clipka wrote:
>
> Related question: 2b|!2b?

True, very true.


Post a reply to this message

From: Warp
Subject: Re: Other people dislike regexes too
Date: 20 Jul 2012 01:14:27
Message: <5008e932@news.povray.org>
Orchid Win7 v1 <voi### [at] devnull> wrote:
> >> oneOf "sh"
> >> char 'd'
> >> letter
> >>
> >> You don't even need to know which parsing library or what programming
> >> language this is to figure out that it matches three characters.
> >
> > Really? I would not have guessed that "one of sh" means "one of the
> > characters in the string" vs "one instance of the string 'sh'"

> OK. So it's not completely trivial. Easier than trying to guess what 
> "[s|h]" is meant to mean though. :-P

Your complaint seems to be that the meaning of regexes may be hard to
guess for somebody who does not know their syntax. That's an inane
complaint.

I tried to explain that in my previous post, but seemingly you didn't
understand.

-- 
                                                          - Warp


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.