abstract class RegexExtractor[P, T] extends AnyRef
A Regular expression step which takes a text and extracts meaningful values according to a regular expression:
- either a user-defined expression for the *full text to extract*: e.g. "Given the following number: (.*)"
- or a default regex for groups capturing value delimited with ${}
It provides methods to extract either all the groups as a list, or a number of values as a tuple
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- RegexExtractor
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new RegexExtractor(fullRegex: String = "", groupRegex: String = RegexExtractor.DEFAULT_REGEX)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def extract1(t: String): String
extract the value contained in the first group
- def extract10(t: String): (String, String, String, String, String, String, String, String, String, String)
- def extract2(t: String): (String, String)
- def extract3(t: String): (String, String, String)
- def extract4(t: String): (String, String, String, String)
- def extract5(t: String): (String, String, String, String, String)
- def extract6(t: String): (String, String, String, String, String, String)
- def extract7(t: String): (String, String, String, String, String, String, String)
- def extract8(t: String): (String, String, String, String, String, String, String, String)
- def extract9(t: String): (String, String, String, String, String, String, String, String, String)
- def extractAll(t: String): List[String]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def regexToUse: Regex
regex to use for a step with a partial function
regex to use for a step with a partial function
- Attributes
- protected
- def strip(text: String): String
remove value markers
${}from the text - final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withRegex(full: String = "", group: String = RegexExtractor.DEFAULT_REGEX): RegexExtractor.this.type
change the regexps
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated