RepeatStrategy

name.rayrobdod.stringContextParserCombinator.RepeatStrategy

Describes how much a Repeat will attempt to match

Attributes

Source
RepeatStrategy.scala
Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

case case Greedy extends RepeatStrategy

Match as many copies as possible

Match as many copies as possible

Attributes

Source
RepeatStrategy.scala
case case Lazy extends RepeatStrategy

Match as few copies as possible

Match as few copies as possible

Attributes

Source
RepeatStrategy.scala
case case Possessive extends RepeatStrategy

Match as many copies as possible, no backtracking

Match as many copies as possible, no backtracking

Attributes

Source
RepeatStrategy.scala