POV-Ray : Newsgroups : povray.off-topic : Other people dislike regexes too : Re: Other people dislike regexes too Server Time
29 Jul 2024 08:12:17 EDT (-0400)
  Re: Other people dislike regexes too  
From: Darren New
Date: 19 Jul 2012 14:58:24
Message: <500858d0@news.povray.org>
On 7/19/2012 3:53, Invisible 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'"

> Of course, the only reason that anybody ever uses Perl is because it has
> built-in regex support. This, together with low-level text munging, is
> literally ALL PERL DOES! >_<

It's a report generation language. It's right in the name. What did you 
expect? Did you ever read any RPG (Report Program Generator) code?

-- 
Darren New, San Diego CA, USA (PST)
   "Oh no! We're out of code juice!"
   "Don't panic. There's beans and filters
    in the cabinet."


Post a reply to this message

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