Boorman
Monday, 30 September 2013
What is the opposite of Regexp.escape?
What is the opposite of Regexp.escape?
What is the opposite of Regexp.escape ?
> Regexp.escape('A & B')
=> "A\\ &\\ B"
> # do something --
=> "A & B"
How can I get the original value?
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment