Hey, how do you make a regular expression visible?

X

Xeno Campanoli

I've got all these strings in this object holding regular expressions,
and I want to report on them accurately, but all my backslashes are
disappearing. Any suggestions?
 
7

7stud --

Xeno said:
I've got all these strings in this object holding regular expressions,
and I want to report on them accurately, but all my backslashes are
disappearing. Any suggestions?

What does "report on them accurately" entail?


r = /s\.d/
p r

--output:--
/s\.d/
 
X

Xeno Campanoli

7stud said:
What does "report on them accurately" entail?


r = /s\.d/
p r

--output:--
/s\.d/
Sorry. My bug. I should have looked closer at my code. Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,277
Messages
2,571,385
Members
48,088
Latest member
AngieMaliz

Latest Threads

Top