[Date Index] [Thread Index] [Author Index]
Re: How to coerce a string pattern to an ordinary pattern?
I don't really understand the question but I suspect the answer is you are either looking for: 1. Verbatim[...] or 2. Print["\"Hello"] , i.e., focus on \" ________________________________________ From: Andrew DeYoung [adeyoung at andrew.cmu.edu] Sent: Tuesday, January 17, 2012 03:28 To: mathgroup at smc.vnet.net Subject: [mg124395] How to coerce a string pattern to an ordinary pattern? Hi, How do I coerce a string pattern to an ordinary pattern? For example, I might want to select those elements of a list that are pairs of strings, where the first string matches the string pattern "["~~___~~"]". Thank you so much for your time. Andrew DeYoung Carnegie Mellon University