POV-Ray : Newsgroups : povray.off-topic : RegEx help : Re: RegEx help Server Time
4 Sep 2024 05:19:19 EDT (-0400)
  Re: RegEx help  
From: Warp
Date: 10 May 2010 07:07:53
Message: <4be7e909@news.povray.org>
Chambers <bdc### [at] yahoocom> wrote:
> That's what I would have thought, but I found that \. didn't return any matches,
> whereas [.] did.  Probably a quirk of the version I was using.

  How are you running grep? And from where?

  If you give a regexp to grep as a command-line parameter, remember to
always escape the entire regexp so that the shell won't mess it up. In
other words:

   grep 'ing\.'

not:

   grep ing\.

which will end up completely different when grep sees it.

-- 
                                                          - Warp


Post a reply to this message

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