skip to main
|
skip to sidebar
Clemens FAQ
Sunday, May 16, 2010
Ruby Hex Escaping
How to represent characters in regular expressions in hexadecimal format?
content.gsub!( /\xe2\x80\x99/ms, "'" )
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
About Me
Clemens Lee
clemens@kclee.de
View my complete profile
Labels
ascii
(1)
backup
(1)
bash
(5)
command line
(7)
cron
(1)
crontab
(1)
database
(1)
date
(1)
debugging
(1)
false
(1)
finder
(1)
git
(1)
hex
(1)
logic
(1)
mac
(1)
mc
(1)
postgresql
(1)
programming
(1)
prompt
(1)
rails
(1)
regexp
(1)
ruby
(3)
sh
(4)
shell
(3)
tcpip
(1)
time
(1)
true
(1)
unix
(1)
Blog Archive
►
2013
(1)
►
October
(1)
►
2012
(1)
►
August
(1)
►
2011
(4)
►
September
(1)
►
January
(3)
▼
2010
(6)
►
October
(1)
►
September
(1)
►
August
(2)
▼
May
(1)
Ruby Hex Escaping
►
January
(1)
►
2009
(3)
►
December
(1)
►
November
(2)
No comments:
Post a Comment