|
From: | Michael Terry |
Subject: | Re: [Beaver-devel] Fixed strings inside extended regular expressions |
Date: | Wed, 23 Apr 2003 22:31:56 -0400 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030322 |
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?
-mt
pgpDmooT54B1c.pgp
Description: PGP signature
[Prev in Thread] | Current Thread | [Next in Thread] |