How to coerce a string pattern to an ordinary pattern?
- To: mathgroup at smc.vnet.net
- Subject: [mg124344] How to coerce a string pattern to an ordinary pattern?
- From: Andrew DeYoung <adeyoung at andrew.cmu.edu>
- Date: Tue, 17 Jan 2012 03:28:19 -0500 (EST)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
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