Class

io.github.reggert.reb4s.charclass

SingleChar

Related Doc: package charclass

Permalink

final class SingleChar extends CharClass with WrappedNegation[SingleChar] with SelfContained

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SingleChar
  2. SelfContained
  3. WrappedNegation
  4. CharClass
  5. Quantifiable
  6. Sequenceable
  7. Alternative
  8. Expression
  9. Immutable
  10. Serializable
  11. Serializable
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def &&(right: Intersection): Intersection

    Permalink

    Returns the intersection of this character class with the specified character classes.

    Returns the intersection of this character class with the specified character classes.

    Definition Classes
    CharClass
  4. def &&(right: CharClass): Intersection

    Permalink

    Returns the intersection of this character class with the specified character class.

    Returns the intersection of this character class with the specified character class.

    Definition Classes
    CharClass
  5. final def *: AnyTimes

    Permalink

    Returns an expression that matches the receiver repeated any number of times, using greedy matching.

    Returns an expression that matches the receiver repeated any number of times, using greedy matching.

    Definition Classes
    Quantifiable
    See also

    Quantifiable#anyTimes

  6. final def *+: AnyTimes

    Permalink

    Returns an expression that matches the receiver repeated any number of times, using possessive matching.

    Returns an expression that matches the receiver repeated any number of times, using possessive matching.

    Definition Classes
    Quantifiable
    See also

    Quantifiable#anyTimes

  7. final def *?: AnyTimes

    Permalink

    Returns an expression that matches the receiver repeated any number of times, using reluctant matching.

    Returns an expression that matches the receiver repeated any number of times, using reluctant matching.

    Definition Classes
    Quantifiable
    See also

    Quantifiable#anyTimes

  8. final def +: AtLeastOnce

    Permalink

    Returns an expression that matches the receiver repeated at least once, using greedy matching.

    Returns an expression that matches the receiver repeated at least once, using greedy matching.

    Definition Classes
    Quantifiable
    See also

    Quantifiable#atLeastOnce

  9. final def ++: AtLeastOnce

    Permalink

    Returns an expression that matches the receiver repeated at least once, using possessive matching.

    Returns an expression that matches the receiver repeated at least once, using possessive matching.

    Definition Classes
    Quantifiable
    See also

    Quantifiable#atLeastOnce

  10. final def +?: AtLeastOnce

    Permalink

    Returns an expression that matches the receiver repeated at least once, using reluctant matching.

    Returns an expression that matches the receiver repeated at least once, using reluctant matching.

    Definition Classes
    Quantifiable
    See also

    Quantifiable#atLeast

  11. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def ?: Optional

    Permalink

    Returns an expression that matches the receiver appearing once or not at all, using greedy matching.

    Returns an expression that matches the receiver appearing once or not at all, using greedy matching.

    Definition Classes
    Quantifiable
    See also

    Quantifiable#optional

  13. final def ?+: Optional

    Permalink

    Returns an expression that matches the receiver appearing once or not at all, using possessive matching.

    Returns an expression that matches the receiver appearing once or not at all, using possessive matching.

    Definition Classes
    Quantifiable
    See also

    Quantifiable#optional

  14. final def ??: Optional

    Permalink

    Returns an expression that matches the receiver appearing once or not at all, using reluctant matching.

    Returns an expression that matches the receiver appearing once or not at all, using reluctant matching.

    Definition Classes
    Quantifiable
    See also

    Quantifiable#optional

  15. final def andThen(right: Sequence): Sequence

    Permalink

    Concatenates this expression with the argument.

    Concatenates this expression with the argument.

    Definition Classes
    Sequenceable
  16. final def andThen(right: Sequenceable): Sequence

    Permalink

    Concatenates this expression with the argument.

    Concatenates this expression with the argument.

    Definition Classes
    Sequenceable
  17. final def anyTimes(mode: Mode = Greedy): AnyTimes

    Permalink

    Returns an expression that matches the receiver repeated any number of times.

    Returns an expression that matches the receiver repeated any number of times.

    Definition Classes
    Quantifiable
  18. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  19. final def atLeast(n: Int, mode: Mode = Greedy): RepeatRange

    Permalink

    Returns an expression that matches the receiver repeated at least the specified minimum number of times.

    Returns an expression that matches the receiver repeated at least the specified minimum number of times.

    n

    the minimum number of times that the pattern may be repeated; must be be >= 0;

    Definition Classes
    Quantifiable
    Exceptions thrown

    IllegalArgumentException if n < 0.

  20. final def atLeastOnce(mode: Mode = Greedy): AtLeastOnce

    Permalink

    Returns an expression that matches the receiver repeated at least once.

    Returns an expression that matches the receiver repeated at least once.

    Definition Classes
    Quantifiable
    See also

    Quantifiable#+

  21. final def boundedLength: Some[Int]

    Permalink

    If the expression has a computable maximum length, this returns it.

    If the expression has a computable maximum length, this returns it. Otherwise, it returns None.

    This is used for determining whether an expression is suitable for look-behind.

    Attributes
    protected[io.github.reggert.reb4s]
    Definition Classes
    CharClassExpression
  22. val char: Char

    Permalink
  23. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. def equals(other: Any): Boolean

    Permalink
    Definition Classes
    SingleChar → AnyRef → Any
  26. final def expression: String

    Permalink

    Returns the regular expression represented by this object, in a form suitable to passing to the java.util.regex.Pattern class.

    Returns the regular expression represented by this object, in a form suitable to passing to the java.util.regex.Pattern class.

    Definition Classes
    CharClassExpression
  27. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  28. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  29. lazy val hashCode: Int

    Permalink
    Definition Classes
    SingleChar → AnyRef → Any
  30. final def independentForm: String

    Permalink

    The regular expression string that can be used independently of square brackets.

    The regular expression string that can be used independently of square brackets.

    Definition Classes
    SelfContainedCharClass
  31. final def intersect(right: Intersection): Intersection

    Permalink

    Returns the intersection of this character class with the specified character classes.

    Returns the intersection of this character class with the specified character classes.

    Definition Classes
    CharClass
  32. final def intersect(right: CharClass): Intersection

    Permalink

    Returns the intersection of this character class with the specified character class.

    Returns the intersection of this character class with the specified character class.

    Definition Classes
    CharClass
  33. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  34. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  35. final def negated: Negated[SingleChar]

    Permalink

    Returns an expressing matching a single character that is not within the class of characters matched by this expression.

    Returns an expressing matching a single character that is not within the class of characters matched by this expression.

    Definition Classes
    WrappedNegation → CharClass
  36. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  37. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  38. final def optional(mode: Mode = Greedy): Optional

    Permalink

    Returns an expression that matches the receiver appearing once or not at all.

    Returns an expression that matches the receiver appearing once or not at all.

    Definition Classes
    Quantifiable
    See also

    Quantifiable#?

  39. def or(right: MultiChar): MultiChar

    Permalink
  40. def or(right: SingleChar): MultiChar

    Permalink
  41. final def or(right: CharClass): Union

    Permalink

    Returns the union of this character class with the specified character class.

    Returns the union of this character class with the specified character class.

    Definition Classes
    CharClass
  42. final def or(right: Union): Union

    Permalink

    Returns the union of this character class with the specified character classes.

    Returns the union of this character class with the specified character classes.

    Definition Classes
    CharClass
  43. final def or(right: Alternative): Alternation

    Permalink

    Constructs an expression matching either the receiver or the specified argument expression.

    Constructs an expression matching either the receiver or the specified argument expression.

    Definition Classes
    Alternative
  44. final def or(right: Alternation): Alternation

    Permalink

    Constructs an expression matching either the receiver or the any of the alternatives contained within the specified argument expression.

    Constructs an expression matching either the receiver or the any of the alternatives contained within the specified argument expression.

    Definition Classes
    Alternative
  45. final def possiblyZeroLength: Boolean

    Permalink

    Indicates whether the expression may possibly be zero length.

    Indicates whether the expression may possibly be zero length.

    Used in some cases for determining repetitionInvalidatesBounds.

    Attributes
    protected[io.github.reggert.reb4s]
    Definition Classes
    CharClassExpression
  46. final def repeat(n: Int, mode: Mode = Greedy): RepeatExactly

    Permalink

    Returns an expression that matches the receiver repeated the specified number of times.

    Returns an expression that matches the receiver repeated the specified number of times.

    n

    the exact number of times the pattern must be repeated for the quantified expression to match; must be >= 0.

    Definition Classes
    Quantifiable
    Exceptions thrown

    IllegalArgumentException if n < 0.

  47. final def repeatRange(min: Int, max: Int, mode: Mode = Greedy): RepeatRange

    Permalink

    Returns an expression that matches the receiver repeated a number of times within the specified range.

    Returns an expression that matches the receiver repeated a number of times within the specified range.

    min

    the minimum number of times that the pattern may be repeated; must be >= 0.

    max

    the maximum number of times that the pattern may be repeated; must be >= min.

    Definition Classes
    Quantifiable
    Exceptions thrown

    IllegalArgumentException if min < 0 or max < min.

  48. final def repetitionInvalidatesBounds: Boolean

    Permalink

    Indicates whether applying repetition to the expression invalidates the boundedness computation.

    Indicates whether applying repetition to the expression invalidates the boundedness computation. This generally indicates that the expression may match a zero-repetition ({0, n} or ?).

    This is used to determine boundedness of enclosing expressions.

    Attributes
    protected[io.github.reggert.reb4s]
    Definition Classes
    CharClassExpression
  49. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  50. final def toPattern: Pattern

    Permalink

    Passes the regular expression represented by this object to java.util.regex.Pattern and returns the result.

    Passes the regular expression represented by this object to java.util.regex.Pattern and returns the result.

    Definition Classes
    Expression
  51. final def toRegex(groupNames: String*): Regex

    Permalink

    Uses the regular expression represented by this object to construct a scala.util.matching.Regex.

    Uses the regular expression represented by this object to construct a scala.util.matching.Regex.

    Definition Classes
    Expression
  52. final def toString(): String

    Permalink

    Always returns the same value as Expression#expression.

    Always returns the same value as Expression#expression.

    Definition Classes
    Expression → AnyRef → Any
  53. final def unary_~: CharClass

    Permalink

    Returns an expressing matching a single character that is not within the class of characters matched by this expression.

    Returns an expressing matching a single character that is not within the class of characters matched by this expression.

    Definition Classes
    CharClass
  54. def union(right: MultiChar): MultiChar

    Permalink
  55. def union(right: SingleChar): MultiChar

    Permalink
  56. final def union(right: CharClass): Union

    Permalink

    Returns the union of this character class with the specified character class.

    Returns the union of this character class with the specified character class.

    Definition Classes
    CharClass
  57. final def union(right: Union): Union

    Permalink

    Returns the union of this character class with the specified character classes.

    Returns the union of this character class with the specified character classes.

    Definition Classes
    CharClass
  58. def unitableForm(): String

    Permalink

    The regular expression string that can be used within square brackets to merge with other character classes.

    The regular expression string that can be used within square brackets to merge with other character classes.

    Definition Classes
    SingleCharCharClass
  59. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  60. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  62. def ||(right: MultiChar): MultiChar

    Permalink
  63. def ||(right: SingleChar): MultiChar

    Permalink
  64. def ||(right: CharClass): Union

    Permalink

    Returns the union of this character class with the specified character classes.

    Returns the union of this character class with the specified character classes.

    Definition Classes
    CharClass
  65. def ||(right: Union): Union

    Permalink

    Returns the union of this character class with the specified character class.

    Returns the union of this character class with the specified character class.

    Definition Classes
    CharClass
  66. def ||(right: Alternative): Alternation

    Permalink

    Constructs an expression matching either the receiver or the specified argument expression.

    Constructs an expression matching either the receiver or the specified argument expression.

    Definition Classes
    Alternative
  67. def ||(right: Alternation): Alternation

    Permalink

    Constructs an expression matching either the receiver or the any of the alternatives contained within the specified argument expression.

    Constructs an expression matching either the receiver or the any of the alternatives contained within the specified argument expression.

    Definition Classes
    Alternative
  68. def ~~(right: Sequence): Sequence

    Permalink

    Concatenates this expression with the argument.

    Concatenates this expression with the argument.

    Definition Classes
    Sequenceable
  69. def ~~(right: Sequenceable): Sequence

    Permalink

    Concatenates this expression with the argument.

    Concatenates this expression with the argument.

    Definition Classes
    Sequenceable

Inherited from SelfContained

Inherited from WrappedNegation[SingleChar]

Inherited from CharClass

Inherited from Quantifiable

Inherited from Sequenceable

Inherited from Alternative

Inherited from Expression

Inherited from Immutable

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped