Invalid regular expression: %1 in '%2'

Error constant SQLE_INVALID_REGULAR_EXPRESSION
ODBC 2 State S1000
ODBC 3 State 2201B
Parameter 1 The reason the regular expression is invalid.
Parameter 2 The invalid regular expression.
Severity 16
SQLCODE –1135
SQLSTATE 2201B
Sybase error code 13378
Probable cause

The specified regular expression is invalid.