Packages

object Regex

Source
Regex.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Regex
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def apply[A](pattern: Pattern, group: Int)(implicit arg0: GroupDecoder[A]): Regex[DecodeResult[A]]

    Turns the specified pattern into a Regex.

    Turns the specified pattern into a Regex.

    Decoding is achieved by applying whatever GroupDecoder is in scope for A on group index group of each match.

    This method is made with literals in mind. Should you be working with other types (such as non-literal strings, for instance), kantan.regex.ops.CompilerOps might prove more helpful.

  2. def apply[A](pattern: Pattern)(implicit arg0: MatchDecoder[A]): Regex[DecodeResult[A]]

    Turns the specified pattern into a Regex.

    Turns the specified pattern into a Regex.

    Decoding is achieved by applying whatever MatchDecoder is in scope for A on each match.

    This method is made with literals in mind. Should you be working with other types (such as non-literal strings, for instance), kantan.regex.ops.CompilerOps might prove more helpful.