Performs Perl 5-style transliterations on a given string in Clojure
Clojure
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/org/clojars/j1n3l0/transliterate
test/org/clojars/j1n3l0/transliterate/test
README
project.clj

README

# org.clojars.j1n3l0/transliterate

Performs Perl 5-style transliterations on a given string in Clojure

## Usage

  (use '[org.clojars.j1n3l0.transliterate.core :only (tr)])
  ;=> nil
  (defn rot-13 [s] (tr "A-Za-z" "N-ZA-Mn-za-m" s))
  ;=> #'user/rot-13
  (rot-13 "Pybwher vf pbby")
  ;=> "Clojure is cool"

## Installation

Available from clojars.org; add:

  [org.clojars.j1n3l0/transliterate "1.0.0-SNAPSHOT"]

to your project.clj

## License

Copyright (C) 2010 Nelo Onyiah <nelo.onyiah@gmail.com>

Distributed under the Eclipse Public License, the same as Clojure.