diff --git a/python/cudf/cudf/core/column/string.py b/python/cudf/cudf/core/column/string.py index 029ef85e0d6..ee1ddb58abc 100644 --- a/python/cudf/cudf/core/column/string.py +++ b/python/cudf/cudf/core/column/string.py @@ -3469,7 +3469,9 @@ def findall( flags = pat.flags & ~re.U pat = pat.pattern if not _is_supported_regex_flags(flags): - raise ValueError("invalid `flags` parameter value") + raise NotImplementedError( + "unsupported value for `flags` parameter" + ) data, index = libstrings.findall(self._column, pat, flags) return self._return_or_inplace(