Generic regular expression library for Scala using Spire