If you want to make it the literal character and it is not the first or last character do the following \-. The \ is the escape meaning whatever follows is the literal character.
Regards, Tyson Scott - CCIE #13513 R&S, Security, and SP Managing Partner / Sr. Instructor - IPexpert, Inc. Mailto: [email protected] Telephone: +1.810.326.1444, ext. 208 Live Assistance, Please visit: www.ipexpert.com/chat eFax: +1.810.454.0130 IPexpert is a premier provider of Self-Study Workbooks, Video on Demand, Audio Tools, Online Hardware Rental and Classroom Training for the Cisco CCIE (R&S, Voice, Security & Service Provider) certification(s) with training locations throughout the United States, Europe, South Asia and Australia. Be sure to visit our online communities at www.ipexpert.com/communities and our public website at www.ipexpert.com <http://www.ipexpert.com/> From: [email protected] [mailto:[email protected]] On Behalf Of Anantha Subramanian Natarajan Sent: Wednesday, October 06, 2010 11:27 AM To: [email protected] Subject: [OSL | CCIE_Security] Understanding Regex Hi All, Was going through "Using Modular Policy Framework" chapter in the ASA 8.2 configuration guide and found regex Metacharacters Table mentioning about "dash(-) character is literal only if it is the last or the first character within the brackets:[abc-] or [-abc]" I am trying to understand, what this regex would match/function [abc-] or [-abc]..... Thanks for the great help Regards Anantha Subramanian Natarajan
_______________________________________________ For more information regarding industry leading CCIE Lab training, please visit www.ipexpert.com
