Oracle Message ORA-19174 - FORX0001: invalid regular expression flags

ERRORFORX0001: invalid regular expression flags
CAUSEAn error occurred during the processing of the XQuery expression.
ACTIONCheck the detailed error message for the possible causes.