Wouldn't single quotes do the trick?
Curtis Poe <[EMAIL PROTECTED]> wrote: --- W P wrote:
> i don't want to just escape those characters. they were merely examples. i
> was hoping maybe there was some built-in way to escape ALL the characters
> that mean anything to regular expressions.
Well,
--- W P <[EMAIL PROTECTED]> wrote:
> i don't want to just escape those characters. they were merely examples. i
> was hoping maybe there was some built-in way to escape ALL the characters
> that mean anything to regular expressions.
Well, technically, *all* characters mean something to a regex
i don't want to just escape those characters. they were merely examples. i
was hoping maybe there was some built-in way to escape ALL the characters
that mean anything to regular expressions. it just seemed like a lot of
work to put a \ before all the characters that regular expressions recogni
On Wed, 27 Feb 2002, W P wrote:
> I have a CGI script which takes two strings. It searches for the first
> string in a file, replacing it with the second one. This file isn't
> really important, more for fun, so I'm not too worried about people
> deleting the whole file if they actually type out