MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

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



  • Prev by Date: Re: How to check whether an infinite set is closed under addition?
  • Next by Date: Re: How to remove the Null character in a Table?
  • Previous by thread: Re: Locator points not working in Manipulate calling RegionPlot, etc.
  • Next by thread: Re: How to coerce a string pattern to an ordinary pattern?