467,081 Members | 1,150 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,081 developers. It's quick & easy.

How do I find a unicode character in a regexp


From what I've read:

s/\x{2014}/--/g;

should find an mdash and replace it with "--", but it's not. Why?
--
Mark Healey
marnkews ãt healeyopolis döt com
Nov 5 '08 #1
  • viewed: 1406
Share:

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by marek | last post: by
6 posts views Thread by S. | last post: by
2 posts views Thread by Ron Brennan | last post: by
5 posts views Thread by Illya Havsiyevych | last post: by
1 post views Thread by Mark Johnson | last post: by
4 posts views Thread by possibilitybox@gmail.com | last post: by
8 posts views Thread by Preben Randhol | last post: by
reply views Thread by Ben Wolfson | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.