POV-Ray : Newsgroups : povray.off-topic : Other people dislike regexes too : Re: Other people dislike regexes too Server Time
29 Jul 2024 08:21:12 EDT (-0400)
  Re: Other people dislike regexes too  
From: Tim Cook
Date: 19 Jul 2012 18:04:33
Message: <50088471$1@news.povray.org>
On 2012-07-19 16:30, clipka wrote:
> Now for the "|", this is quite a well established symbol for an "or"
> operation in various languages (e.g. C, POV-Ray SDL, etc.). With this in
> mind, it's a matter of seconds to realize that "s|h" might mean "'s' or
> 'h'".

And the "s|h" form is visually similar enough to the more-common 
"and/or" that even if you didn't happen to know that | meant 'or', you'd 
have a better-than-zero chance of guessing its intent.

(So what is the result of &/| anyways?)

--
Tim Cook
http://empyrean.sjcook.com


Post a reply to this message

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