CompileError

Undocumented

  • Invalid use of repetition operators such as using ’*’ as the first character.

    For example, the consecutive repetition operators ** in a** are invalid. As another example, if the syntax is extended regular expression syntax, then the repetition operator * with nothing on which to operate in * is invalid.

    Declaration

    Swift

    case InvalidRepetition
  • Invalid use of back reference operator.

    For example, the count ’-1’ in ’a\{-1’ is invalid.

    Declaration

    Swift

    case InvalidBackReference
  • The regex routines ran out of memory.

    Declaration

    Swift

    case OutOfMemory
  • Invalid use of pattern operators such as group or list.

    Declaration

    Swift

    case InvalidPatternOperator
  • Un-matched bracket list operators.

    Declaration

    Swift

    case UnMatchedBracketList
  • Invalid collating element.

    Declaration

    Swift

    case InvalidCollating
  • Un-matched parenthesis group operators.

    Declaration

    Swift

    case UnMatchedParenthesis
  • Invalid use of the range operator.

    E.g. The ending point of the range occurs prior to the starting point.

    Declaration

    Swift

    case InvalidRange