public RegExException(message as String = "Invalid regular expression"):
Creates a regular-expression exception.
| Parameter | Description |
|---|---|
message | Human-readable description of the regular-expression error. |
error = RegExException("Invalid character class")
print(error.message)