beaver-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Beaver-devel] Fixed strings inside extended regular expressions


From: Riccardo Persichetti
Subject: Re: [Beaver-devel] Fixed strings inside extended regular expressions
Date: Thu, 24 Apr 2003 12:07:46 +0200

Hi Michael,

On Wed, 23 Apr 2003 22:31:56 -0400
Michael Terry <address@hidden> wrote:

> Michael Terry wrote:
> > Anyone know  how to do  this?  (As a  brute force strategy,  I could
> > surround each letter  in the user string with '['  and ']', but that
> > seems ugly, especially since I'd  have to be careful with characters
> > like '^'.)
> Make that escape each character  with a backslash.  Still ugly though.
> Any better way?

as far as i know, i think that escaping those special characters is
the only way to achieve what you need... (at least this is what i've
always done when playing with regexps)

regards,

  riccardo


-- 
.-----------------------------.
| address@hidden |
`-----------------------------'




reply via email to

[Prev in Thread] Current Thread [Next in Thread]