POV-Ray : Newsgroups : povray.off-topic : Other people dislike regexes too : Re: Other people dislike regexes too Server Time
29 Jul 2024 08:15:46 EDT (-0400)
  Re: Other people dislike regexes too  
From: Warp
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

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