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


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

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

From "Scot T. Martin" <smartin@seas.harvard.edu>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: How to coerce a string pattern to an ordinary pattern?
Date 2012-01-18 11:03 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jf68ub$ga4$1@smc.vnet.net> (permalink)

Show all headers | View raw


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

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web