Re: Reg Expressions Escape Characters
Berend de Boer <[email protected]>
| Newsgroups | gmane.comp.lang.eiffel.gobo.general |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 "Neil Collier [ES]" <[email protected]> writes: > I would like to know if the regular expression library has a built in > way to tell the regular expression compiler to treat the input string in > a strict fashion, so that treats all metacharacters as literals > automatically. If not I guess I would write a small routine to insert > an escape (\) character in front of every string before sending it as > input. Not sure I'm getting this Neil. The input string is the input for a regular expression?? So it's not the re itself? The input string is always taken literally. - -- Live long and prosper, Berend de Boer (PGP public key: http://www.pobox.com/~berend/berend-public-key.txt) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/> iD8DBQFC/FhsIyuuaiRyjTYRAov4AJ90LtHUkgrTgps7V8KJ+xa/xI/2MwCg6D+u /jQ3qBAk+T0kOFGiGBvH4rg= =KkQo -----END PGP SIGNATURE----- ------------------------ Yahoo! Groups Sponsor --------------------~--> <font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12h3sr53v/M=362131.6882499.7825260.1510227/D=groups/S=1705006764:TM/Y=YAHOO/EXP=1123841396/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org ">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy</a>.</font> --------------------------------------------------------------------~-> To Post a message, send it to: [email protected] To Unsubscribe, send a blank message to: gobo-eiffel-unsubscribe-B11MqFFcr06IwRZHo2/[email protected] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/gobo-eiffel/ <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/