How can make below regular expression treat the Carriage Return (\r)
like normal character? i.e. let the “puts $1” output Who uses these
\ranyways? To escape the \r in str is one way, I’d like to know is there
a way to let regular expression just treat the \r as normal characters?
How can make below regular expression treat the Carriage Return (\r)
like normal character? i.e. let the “puts $1” output Who uses these
\ranyways? To escape the \r in str is one way, I’d like to know is there
a way to let regular expression just treat the \r as normal characters?
Thanks for your replay, my platform is Windows7, I added /m option, but
the result still same.
Robert K. wrote in post #1166015:
Ying Sun wrote in post #1166006:
How can make below regular expression treat the Carriage Return (\r)
like normal character? i.e. let the “puts $1” output Who uses these
\ranyways? To escape the \r in str is one way, I’d like to know is there
a way to let regular expression just treat the \r as normal characters?