Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #7972 > unrolled thread

Re: How to coerce a string pattern to an ordinary pattern?

Started by"Scot T. Martin" <smartin@seas.harvard.edu>
First post2012-01-18 11:03 +0000
Last post2012-01-18 11:03 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Re: How to coerce a string pattern to an ordinary pattern? "Scot T. Martin" <smartin@seas.harvard.edu> - 2012-01-18 11:03 +0000

#7972 — Re: How to coerce a string pattern to an ordinary pattern?

From"Scot T. Martin" <smartin@seas.harvard.edu>
Date2012-01-18 11:03 +0000
SubjectRe: How to coerce a string pattern to an ordinary pattern?
Message-ID<jf68ub$ga4$1@smc.vnet.net>
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@andrew.cmu.edu]
Sent: Tuesday, January 17, 2012 03:28
Subject: 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

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web