POV-Ray : Newsgroups : povray.off-topic : Other people dislike regexes too : Re: Other people dislike regexes too Server Time
29 Jul 2024 08:19:20 EDT (-0400)
  Re: Other people dislike regexes too  
From: Orchid Win7 v1
Date: 19 Jul 2012 15:34:23
Message: <5008613f$1@news.povray.org>
>> 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

>> 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.

Funny, I could have sworn I already /said/ that. ;-)


Post a reply to this message

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