pub(crate) fn pattern_error(pattern: &str, flags: &str) -> Option<String>
パターンの構文の誤り(SyntaxError の文言)。無ければ None。
None