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 Greedy extends RepeatStrategy

Match as many copies as possible

Match as many copies as possible

Attributes

Source
RepeatStrategy.scala
case Lazy extends RepeatStrategy

Match as few copies as possible

Match as few copies as possible

Attributes

Source
RepeatStrategy.scala
case Possessive extends RepeatStrategy

Match as many copies as possible, no backtracking

Match as many copies as possible, no backtracking

Attributes

Source
RepeatStrategy.scala