How do I find a unicode character in a regexp

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mark Healey

    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
Working...