Escapes all the special characters in a string for a SQL regexp expression Better to simply use triple quotes
Copied from the Lyft Framework https://github.com/lift/framework/blob/master/core/util/src/main/scala/net/liftweb/util/StringHelpers.scala
Copied from the Lyft Framework https://github.com/lift/framework/blob/master/core/util/src/main/scala/net/liftweb/util/StringHelpers.scala
Turn a string of format "FooBar" into snake case "foo_bar"
Note: snakify is not reversible, ie. in general the following will _not_ be true:
s == camelify(snakify(s))
the underscored string
All the characters that need to be escaped for SQL regexp